608 |
608 |
609 # See if we are skipping at the start of a newly loaded program. |
609 # See if we are skipping at the start of a newly loaded program. |
610 if self._dbgClient.mainFrame is None: |
610 if self._dbgClient.mainFrame is None: |
611 if fn != self._dbgClient.getRunning(): |
611 if fn != self._dbgClient.getRunning(): |
612 return |
612 return |
613 self._dbgClient.mainFrame = frame |
613 fr = frame |
|
614 while (fr is not None and |
|
615 fr.f_code != self._dbgClient.handleLine.func_code): |
|
616 self._dbgClient.mainFrame = fr |
|
617 fr = fr.f_back |
614 |
618 |
615 self.currentFrame = frame |
619 self.currentFrame = frame |
616 |
620 |
617 fr = frame |
621 fr = frame |
618 stack = [] |
622 stack = [] |