Commits

Anonymous committed dfdff87

Only pop up the stack viewer when requested in the Debug menu.

Comments (0)

Files changed (1)

Tools/idle/ScriptBinding.py

                      sys.last_traceback) = sys.exc_info()
                     linecache.checkcache()
                     traceback.print_exc()
-                    if not debugger:
+                    if not debugger and \
+                       self.editwin.getvar("<<toggle-jit-stack-viewer>>"):
                         from StackViewer import StackBrowser
                         sv = StackBrowser(self.root, self.flist)
             finally: