diff -r e2782c9a43d4 -r 79b3922094ba DebugClients/Python2/DebugBase.py --- a/DebugClients/Python2/DebugBase.py Wed Sep 28 20:04:44 2016 +0200 +++ b/DebugClients/Python2/DebugBase.py Fri Sep 30 19:21:22 2016 +0200 @@ -742,7 +742,18 @@ if exctype in [SyntaxError, IndentationError]: try: - message, (filename, lineno, charno, text) = excval + if type(excval) == tuple: + message, (filename, lineno, charno, text) = excval + else: + message = excval.msg + filename = excval.filename + lineno = excval.lineno + charno = excval.offset + if charno is None: + charno = 0 + + filename = os.path.abspath(filename) + realSyntaxError = os.path.exists(filename) except ValueError: message = "" filename = ""