Kaydet (Commit) d13cade3 authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Merge with 3.4

......@@ -19,7 +19,7 @@ class Idb(bdb.Bdb):
message = self.__frame2message(frame)
try:
self.gui.interaction(message, frame)
except (TclError, RuntimeError):
except TclError: # When closing debugger window with [x] in 3.x
pass
def user_exception(self, frame, info):
......@@ -105,10 +105,13 @@ class Debugger:
self.interacting = 0
def close(self, event=None):
try:
self.quit()
except Exception:
pass
if self.interacting:
self.top.bell()
return
self.abort_loop()
if self.stackviewer:
self.stackviewer.close(); self.stackviewer = None
# Clean up pyshell if user clicked debugger control close widget.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment