eric6/DebugClients/Python/BreakpointWatch.py

changeset 7628
f904d0eef264
parent 7360
9190402e4505
child 7639
422fd05e9c91
--- a/eric6/DebugClients/Python/BreakpointWatch.py	Wed Jun 17 17:12:21 2020 +0200
+++ b/eric6/DebugClients/Python/BreakpointWatch.py	Wed Jun 17 20:18:54 2020 +0200
@@ -162,7 +162,7 @@
             # Ignore count applies only to those bpt hits where the
             # condition evaluates to true.
             try:
-                val = eval(b.cond, frame.f_globals, frame.f_locals)
+                val = eval(b.cond, frame.f_globals, frame.f_locals)     # secok
                 if val:
                     if b.ignore > 0:
                         b.ignore -= 1
@@ -295,6 +295,7 @@
                 continue
             try:
                 val = eval(b.compiledCond, frame.f_globals, frame.f_locals)
+                # secok
                 if b.created:
                     if frame in b.values:
                         continue
@@ -323,7 +324,7 @@
                         continue
                     else:
                         return (b, True)
-            except Exception:
+            except Exception:       # secok
                 continue
         return (None, False)
 

eric ide

mercurial