DebugClients/Python3/DebugBase.py

branch
debugger speed
changeset 5062
904225763ac0
parent 5050
a6335e924d08
child 5063
0b5dccc8aacb
equal deleted inserted replaced
5061:753f720c2a48 5062:904225763ac0
576 576
577 # We never stop on line 0. 577 # We never stop on line 0.
578 if line == 0: 578 if line == 0:
579 return 579 return
580 580
581 fn = self._dbgClient.absPath(self.fix_frame_filename(frame))
582
583 # See if we are skipping at the start of a newly loaded program. 581 # See if we are skipping at the start of a newly loaded program.
584 if self._dbgClient.mainFrame is None: 582 if self._dbgClient.mainFrame is None:
585 if fn != self._dbgClient.getRunning():
586 return
587 fr = frame 583 fr = frame
588 while (fr is not None and 584 while (fr is not None and
589 fr.f_code != self._dbgClient.handleLine.__code__): 585 fr.f_code != self._dbgClient.handleLine.__code__):
590 self._dbgClient.mainFrame = fr 586 self._dbgClient.mainFrame = fr
591 fr = fr.f_back 587 fr = fr.f_back

eric ide

mercurial