DebugClients/Python/DebugBase.py

branch
debugger speed
changeset 5222
6548dc1bfd48
parent 5221
960afd19c1b6
child 5239
27f56dc07b5b
diff -r 960afd19c1b6 -r 6548dc1bfd48 DebugClients/Python/DebugBase.py
--- a/DebugClients/Python/DebugBase.py	Sat Oct 08 21:01:32 2016 +0200
+++ b/DebugClients/Python/DebugBase.py	Sun Oct 09 22:22:36 2016 +0200
@@ -117,7 +117,12 @@
         Public method to return the current frame.
         
         @return the current frame
+        @rtype frame object
         """
+        # Don't show any local frames after the program was stopped
+        if self.quitting:
+            return None
+        
         return self.currentFrame
     
     def getFrameLocals(self, frmnr=0):

eric ide

mercurial