fixed exception breakpoint handling

This commit is contained in:
Dmitry Trofimov
2010-11-25 00:51:19 +03:00
parent e8b7defeab
commit ef661d441f
+2 -1
View File
@@ -88,7 +88,8 @@ class PyDBFrame:
if exception_breakpoint is not None:
curr_func_name = frame.f_code.co_name
self.setSuspend(thread, CMD_ADD_EXCEPTION_BREAK)
self.doWaitSuspend(thread, frame, event, arg)
thread.additionalInfo.message = exception_breakpoint.name
#self.doWaitSuspend(thread, frame, event, arg)
#return is not taken into account for breakpoint hit because we'd have a double-hit in this case
#(one for the line and the other for the return).