diff options
author | Guido van Rossum <guido@python.org> | 1999-02-16 22:34:17 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-02-16 22:34:17 (GMT) |
commit | 9ea32898dbfe88426f031d60126e44d5279e2ded (patch) | |
tree | b3724373257c64a54164be3f6b89b29f2c4ba742 /Tools | |
parent | 6724835959a1d38da7bb7e047b16610c17623a11 (diff) | |
download | cpython-9ea32898dbfe88426f031d60126e44d5279e2ded.zip cpython-9ea32898dbfe88426f031d60126e44d5279e2ded.tar.gz cpython-9ea32898dbfe88426f031d60126e44d5279e2ded.tar.bz2 |
Only pop up the stack viewer when requested in the Debug menu.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/idle/ScriptBinding.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/idle/ScriptBinding.py b/Tools/idle/ScriptBinding.py index 12dedb6..0e7810b 100644 --- a/Tools/idle/ScriptBinding.py +++ b/Tools/idle/ScriptBinding.py @@ -131,7 +131,8 @@ class ScriptBinding: 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: |