diff -r ed2eaa573ca5 -r 927a2f8b3669 DebugClients/Python3/DebugBase.py --- a/DebugClients/Python3/DebugBase.py Sat Oct 19 11:14:51 2013 +0200 +++ b/DebugClients/Python3/DebugBase.py Sat Oct 19 11:49:31 2013 +0200 @@ -763,7 +763,7 @@ """ # The program has finished if we have just left the first frame. if frame == self._dbgClient.mainFrame and \ - self._mainThread: + self._mainThread: atexit._run_exitfuncs() self._dbgClient.progTerminated(retval) elif frame is not self.stepFrame: @@ -807,7 +807,7 @@ #XXX - think of a better way to do this. It's only a convience for #debugging the debugger - when the debugger code is in the current #directory. - if os.path.basename(fn) in [\ + if os.path.basename(fn) in [ 'AsyncFile.py', 'AsyncIO.py', 'DebugConfig.py', 'DCTestResult.py', 'DebugBase.py', 'DebugClientBase.py',