--- a/DebugClients/Python3/DebugBase.py Mon Aug 08 22:51:36 2016 +0200 +++ b/DebugClients/Python3/DebugBase.py Mon Aug 08 23:08:38 2016 +0200 @@ -660,21 +660,7 @@ # We never stop on line 0. if frame.f_lineno == 0: return - - # See if we are skipping at the start of a newly loaded program. - # Then get the complete frame stack without eric or Python supplied - # libraries - if self._dbgClient.mainFrame is None: - fr = frame - while (fr is not None and - fr.f_code != self._dbgClient.handleLine.__code__): - if (fr.f_code.co_filename == '<string>' or - os.path.dirname(fr.f_code.co_filename) == self.lib): - break - - self._dbgClient.mainFrame = fr - fr = fr.f_back - + self.currentFrame = frame fr = frame