DebugClients/Python/DebugBase.py

changeset 5417
3458d1c8c5fc
parent 5389
9b1c800daff3
child 5536
d28e800f2810
--- a/DebugClients/Python/DebugBase.py	Wed Jan 11 19:28:04 2017 +0100
+++ b/DebugClients/Python/DebugBase.py	Thu Jan 12 19:21:16 2017 +0100
@@ -312,7 +312,7 @@
             return self.trace_dispatch
         
         if event == 'call':
-            if self.botframe is None and frame.f_lineno > 1:
+            if self.botframe is None and frame.f_lineno >= 1:
                 self.botframe = frame
                 frame.f_trace = self.trace_dispatch
                 

eric ide

mercurial