DebugClients/Python3/DebugBase.py

branch
6_1_x
changeset 5164
197acc53a662
parent 5157
c271375ca534
child 5186
3e43c809a129
--- a/DebugClients/Python3/DebugBase.py	Sat Sep 10 16:29:20 2016 +0200
+++ b/DebugClients/Python3/DebugBase.py	Tue Sep 13 18:37:20 2016 +0200
@@ -605,7 +605,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
                 
@@ -669,7 +669,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