eric6/DebugClients/Python/DebugClientBase.py

changeset 7628
f904d0eef264
parent 7594
ee35df230130
child 7635
0cdead130a81
--- a/eric6/DebugClients/Python/DebugClientBase.py	Wed Jun 17 17:12:21 2020 +0200
+++ b/eric6/DebugClients/Python/DebugClientBase.py	Wed Jun 17 20:18:54 2020 +0200
@@ -296,7 +296,7 @@
         @param prompt the prompt to be shown (string)
         @return the entered string evaluated as a Python expresion
         """
-        return eval(self.raw_input(prompt, True))
+        return eval(self.raw_input(prompt, True))       # secok
         
     def sessionClose(self, terminate=True):
         """
@@ -307,7 +307,7 @@
         """
         try:
             self.set_quit()
-        except Exception:
+        except Exception:       # secok
             pass
 
         self.debugging = False
@@ -633,7 +633,7 @@
 
                     try:
                         if self.running is None:
-                            exec(code, self.debugMod.__dict__)
+                            exec(code, self.debugMod.__dict__)      # secok
                         else:
                             if self.currentThread is None:
                                 # program has terminated
@@ -661,15 +661,15 @@
                             if "sys" in _globals:
                                 __stdout = _globals["sys"].stdout
                                 _globals["sys"].stdout = self.writestream
-                                exec(code, _globals, _locals)
+                                exec(code, _globals, _locals)       # secok
                                 _globals["sys"].stdout = __stdout
                             elif "sys" in _locals:
                                 __stdout = _locals["sys"].stdout
                                 _locals["sys"].stdout = self.writestream
-                                exec(code, _globals, _locals)
+                                exec(code, _globals, _locals)       # secok
                                 _locals["sys"].stdout = __stdout
                             else:
-                                exec(code, _globals, _locals)
+                                exec(code, _globals, _locals)       # secok
                             
                             self.currentThread.storeFrameLocals(self.framenr)
                     except SystemExit as exc:

eric ide

mercurial