diff options
Diffstat (limited to 'Tools/idle/Debugger.py')
-rw-r--r-- | Tools/idle/Debugger.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py index d155ec8..36665ac 100644 --- a/Tools/idle/Debugger.py +++ b/Tools/idle/Debugger.py @@ -65,6 +65,8 @@ class Debugger(bdb.Bdb): bl.append(b) self.bret = b = Button(bframe, text="Out", command=self.ret) bl.append(b) + self.bret = b = Button(bframe, text="Quit", command=self.quit) + bl.append(b) # for b in bl: b.configure(state="disabled") @@ -200,6 +202,10 @@ class Debugger(bdb.Bdb): self.set_return(self.frame) self.root.quit() + def quit(self): + self.set_quit() + self.root.quit() + stackviewer = None def show_stack(self): |