Sat, 23 Jul 2016 14:13:50 +0200
Use precompiled condition at breakpoint like at watches, too.
DebugClients/Python/DebugClientBase.py | file | annotate | diff | comparison | revisions | |
DebugClients/Python3/DebugClientBase.py | file | annotate | diff | comparison | revisions |
--- a/DebugClients/Python/DebugClientBase.py Sat Jul 23 14:12:07 2016 +0200 +++ b/DebugClients/Python/DebugClientBase.py Sat Jul 23 14:13:50 2016 +0200 @@ -679,7 +679,7 @@ cond = None else: try: - compile(cond, '<string>', 'eval') + cond = compile(cond, '<string>', 'eval') except SyntaxError: self.write( '%s%s,%d\n' %
--- a/DebugClients/Python3/DebugClientBase.py Sat Jul 23 14:12:07 2016 +0200 +++ b/DebugClients/Python3/DebugClientBase.py Sat Jul 23 14:13:50 2016 +0200 @@ -688,7 +688,7 @@ cond = None else: try: - compile(cond, '<string>', 'eval') + cond = compile(cond, '<string>', 'eval') except SyntaxError: self.write('{0}{1},{2:d}\n'.format( DebugProtocol.ResponseBPConditionError,