638 if fn != self._dbgClient.getRunning(): |
638 if fn != self._dbgClient.getRunning(): |
639 return |
639 return |
640 fr = frame |
640 fr = frame |
641 while (fr is not None and |
641 while (fr is not None and |
642 fr.f_code not in [ |
642 fr.f_code not in [ |
643 self._dbgClient.handleLine.func_code, |
643 self._dbgClient.handleLine.func_code, |
644 self._dbgClient.handleJsonCommand.func_code]): |
644 self._dbgClient.handleJsonCommand.func_code]): |
645 self._dbgClient.mainFrame = fr |
645 self._dbgClient.mainFrame = fr |
646 fr = fr.f_back |
646 fr = fr.f_back |
647 |
647 |
648 self.currentFrame = frame |
648 self.currentFrame = frame |
649 |
649 |