Fixed an issue with the debugger causing a 'continue' when the user entered some illegal statement in the shell while being halted at a breakpoint.

Fri, 21 Dec 2012 08:24:31 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 21 Dec 2012 08:24:31 +0100
changeset 2276
52ec544a6c74
parent 2275
34804fc7e2f9
child 2278
72d794b6fef8

Fixed an issue with the debugger causing a 'continue' when the user entered some illegal statement in the shell while being halted at a breakpoint.

DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
DebugClients/Python3/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python/DebugClientBase.py	Wed Dec 19 19:34:35 2012 +0100
+++ b/DebugClients/Python/DebugClientBase.py	Fri Dec 21 08:24:31 2012 +0100
@@ -886,8 +886,6 @@
             sys.last_type, sys.last_value, sys.last_traceback = sys.exc_info()
             map(self.write, traceback.format_exception_only(sys.last_type, sys.last_value))
             self.buffer = ''
-
-            self.__exceptionRaised()
         else:
             if code is None:
                 self.pendingResponse = DebugProtocol.ResponseContinue
@@ -951,8 +949,6 @@
 
                     map(self.write, list)
 
-                    self.__exceptionRaised()
-
     def __clientCapabilities(self):
         """
         Private method to determine the clients capabilities.
--- a/DebugClients/Python3/DebugClientBase.py	Wed Dec 19 19:34:35 2012 +0100
+++ b/DebugClients/Python3/DebugClientBase.py	Fri Dec 21 08:24:31 2012 +0100
@@ -885,8 +885,6 @@
             for l in traceback.format_exception_only(sys.last_type, sys.last_value):
                 self.write(l)
             self.buffer = ''
-
-            self.__exceptionRaised()
         else:
             if code is None:
                 self.pendingResponse = DebugProtocol.ResponseContinue
@@ -951,8 +949,6 @@
                     for l in list:
                         self.write(l)
 
-                    self.__exceptionRaised()
-
     def __clientCapabilities(self):
         """
         Private method to determine the clients capabilities.

eric ide

mercurial