Code prevented to stop other than in main file on sys.breakpoint. debugger speed

Sun, 24 Jul 2016 20:59:57 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 24 Jul 2016 20:59:57 +0200
branch
debugger speed
changeset 5062
904225763ac0
parent 5061
753f720c2a48
child 5063
0b5dccc8aacb

Code prevented to stop other than in main file on sys.breakpoint.

DebugClients/Python/DebugBase.py file | annotate | diff | comparison | revisions
DebugClients/Python3/DebugBase.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python/DebugBase.py	Sun Jul 24 20:37:28 2016 +0200
+++ b/DebugClients/Python/DebugBase.py	Sun Jul 24 20:59:57 2016 +0200
@@ -557,12 +557,8 @@
         if line == 0:
             return
 
-        fn = self._dbgClient.absPath(self.fix_frame_filename(frame))
-
         # See if we are skipping at the start of a newly loaded program.
         if self._dbgClient.mainFrame is None:
-            if fn != self._dbgClient.getRunning():
-                return
             fr = frame
             while (fr is not None and
                     fr.f_code != self._dbgClient.handleLine.func_code):
--- a/DebugClients/Python3/DebugBase.py	Sun Jul 24 20:37:28 2016 +0200
+++ b/DebugClients/Python3/DebugBase.py	Sun Jul 24 20:59:57 2016 +0200
@@ -578,12 +578,8 @@
         if line == 0:
             return
 
-        fn = self._dbgClient.absPath(self.fix_frame_filename(frame))
-
         # See if we are skipping at the start of a newly loaded program.
         if self._dbgClient.mainFrame is None:
-            if fn != self._dbgClient.getRunning():
-                return
             fr = frame
             while (fr is not None and
                     fr.f_code != self._dbgClient.handleLine.__code__):

eric ide

mercurial