mirror of https://github.com/python/cpython
I think I like it better if it prints the traceback even when it displays
the stack viewer.
This commit is contained in:
parent
9016fcf41c
commit
d5c8497a81
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue