675 if exctb: |
675 if exctb: |
676 frlist = self.__extract_stack(exctb) |
676 frlist = self.__extract_stack(exctb) |
677 frlist.reverse() |
677 frlist.reverse() |
678 |
678 |
679 self.currentFrame = frlist[0] |
679 self.currentFrame = frlist[0] |
|
680 self.currentFrameLocals = frlist[0].f_locals |
|
681 # remember the locals because it is reinitialized when accessed |
680 |
682 |
681 for fr in frlist: |
683 for fr in frlist: |
682 filename = self._dbgClient.absPath(self.fix_frame_filename(fr)) |
684 filename = self._dbgClient.absPath(self.fix_frame_filename(fr)) |
683 |
685 |
684 if os.path.basename(filename).startswith("DebugClient") or \ |
686 if os.path.basename(filename).startswith("DebugClient") or \ |