projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6724835
)
Only pop up the stack viewer when requested in the Debug menu.
author
Guido van Rossum
<guido@python.org>
Tue, 16 Feb 1999 22:34:17 +0000
(22:34 +0000)
committer
Guido van Rossum
<guido@python.org>
Tue, 16 Feb 1999 22:34:17 +0000
(22:34 +0000)
Tools/idle/ScriptBinding.py
patch
|
blob
|
history
diff --git
a/Tools/idle/ScriptBinding.py
b/Tools/idle/ScriptBinding.py
index 12dedb6581b3954d2ff65e7b3aac1a63c6176e5f..0e7810b1cca89057e216e1a2e98db343bb4d35f9 100644
(file)
--- 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: