diff -r d6bdb0f706b9 -r 3e43c809a129 DebugClients/Python3/DebugBase.py --- a/DebugClients/Python3/DebugBase.py Sat Sep 24 18:00:30 2016 +0200 +++ b/DebugClients/Python3/DebugBase.py Fri Sep 30 19:21:22 2016 +0200 @@ -731,10 +731,13 @@ if exctype in [SyntaxError, IndentationError]: try: + printerr("1") message = str(excval) filename = excval.filename linenr = excval.lineno charnr = excval.offset + if charno is None: + charno = 0 except (AttributeError, ValueError): exclist = [] realSyntaxError = True