diff -r 3e43c809a129 -r ef0fcefe97f8 DebugClients/Python3/DebugBase.py --- a/DebugClients/Python3/DebugBase.py Fri Sep 30 19:21:22 2016 +0200 +++ b/DebugClients/Python3/DebugBase.py Fri Sep 30 19:38:17 2016 +0200 @@ -731,19 +731,19 @@ if exctype in [SyntaxError, IndentationError]: try: - printerr("1") message = str(excval) filename = excval.filename - linenr = excval.lineno - charnr = excval.offset + lineno = excval.lineno + charno = excval.offset if charno is None: charno = 0 + + exclist = [message, [filename, lineno, charno]] + filename = os.path.abspath(filename) + realSyntaxError = os.path.exists(filename) except (AttributeError, ValueError): exclist = [] realSyntaxError = True - else: - exclist = [message, [filename, linenr, charnr]] - realSyntaxError = os.path.exists(filename) if realSyntaxError: self._dbgClient.write("{0}{1}\n".format(