Use precompiled condition at breakpoint like at watches, too. debugger speed

Sat, 23 Jul 2016 14:13:50 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sat, 23 Jul 2016 14:13:50 +0200
branch
debugger speed
changeset 5049
e1d22c4b0be0
parent 5048
9899fb545b1f
child 5050
a6335e924d08

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,

eric ide

mercurial