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. 5_2_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 21 Dec 2012 08:24:31 +0100
branch
5_2_x
changeset 2277
d5dca2805fd2
parent 2251
3d9fce89b12b
child 2283
9d75b64621e0

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.
(grafted from 52ec544a6c741809390d26a252a1f74b6b62929e)

DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
DebugClients/Python3/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python/DebugClientBase.py	Fri Dec 07 18:35:54 2012 +0100
+++ b/DebugClients/Python/DebugClientBase.py	Fri Dec 21 08:24:31 2012 +0100
@@ -871,8 +871,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
@@ -936,8 +934,6 @@
 
                     map(self.write, list)
 
-                    self.__exceptionRaised()
-
     def __clientCapabilities(self):
         """
         Private method to determine the clients capabilities.
--- a/DebugClients/Python3/DebugClientBase.py	Fri Dec 07 18:35:54 2012 +0100
+++ b/DebugClients/Python3/DebugClientBase.py	Fri Dec 21 08:24:31 2012 +0100
@@ -870,8 +870,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
@@ -936,8 +934,6 @@
                     for l in list:
                         self.write(l)
 
-                    self.__exceptionRaised()
-
     def __clientCapabilities(self):
         """
         Private method to determine the clients capabilities.

eric ide

mercurial