I think I like it better if it prints the traceback even when it displays

the stack viewer.
This commit is contained in:
Guido van Rossum 1999-01-11 14:47:54 +00:00
parent 9016fcf41c
commit d5c8497a81
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@ class ScriptBinding:
except:
(sys.last_type, sys.last_value,
sys.last_traceback) = sys.exc_info()
## linecache.checkcache()
## traceback.print_exc()
linecache.checkcache()
traceback.print_exc()
if not debugger:
from StackViewer import StackBrowser
sv = StackBrowser(self.root, self.flist)