##// END OF EJS Templates
Isolate better traceback printing
Gael Varoquaux -
Show More
@@ -119,7 +119,10 b' This is the wx frontend, by Gael Varoquaux. This is EXPERIMENTAL code."""'
119 def show_traceback(self):
119 def show_traceback(self):
120 """ Use ipython0 to capture the last traceback and display it.
120 """ Use ipython0 to capture the last traceback and display it.
121 """
121 """
122 self.capture_output()
122 # Don't do the capture; the except_hook has already done some
123 # modifications to the IO streams, if we store them, we'll be
124 # storing the wrong ones.
125 #self.capture_output()
123 self.ipython0.showtraceback(tb_offset=-1)
126 self.ipython0.showtraceback(tb_offset=-1)
124 self.release_output()
127 self.release_output()
125
128
General Comments 0
You need to be logged in to leave comments. Login now