DebugClients/Python3/DebugBase.py

changeset 5163
741cf2db16ba
parent 5161
f7b6ded9cc37
child 5169
74e000797a93
diff -r bbf2bb2d533c -r 741cf2db16ba DebugClients/Python3/DebugBase.py
--- a/DebugClients/Python3/DebugBase.py	Sun Sep 11 16:39:30 2016 +0200
+++ b/DebugClients/Python3/DebugBase.py	Tue Sep 13 18:33:44 2016 +0200
@@ -608,7 +608,7 @@
         stack = []
         while fr is not None:
             fname = self._dbgClient.absPath(self.fix_frame_filename(fr))
-            if not fname.startswith("<"):
+            if not fname.startswith("<") and not fname.endswith("bdb.py"):
                 fline = fr.f_lineno
                 ffunc = fr.f_code.co_name
                 
@@ -674,7 +674,7 @@
             # return from dispatch_call
             fr.f_trace = self.trace_dispatch
             fname = self._dbgClient.absPath(self.fix_frame_filename(fr))
-            if not fname.startswith("<"):
+            if not fname.startswith("<") and not fname.endswith("bdb.py"):
                 fline = fr.f_lineno
                 ffunc = fr.f_code.co_name
                 

eric ide

mercurial