Commit 4a6be43d authored by Mark Florisson's avatar Mark Florisson

Fixed 'cy bt' bug where backtraces wouldn't be printed if the name of a...

Fixed 'cy bt' bug where backtraces wouldn't be printed if the name of a function couldn't be looked up for some stack frame
parent 9a387a73
......@@ -907,11 +907,14 @@ class CyBacktrace(CythonCommand):
while frame:
is_c = False
if print_all or self.is_relevant_function(frame):
is_relevant = False
try:
is_relevant = self.is_relevant_function(frame)
except CyGDBError:
pass
if print_all or is_relevant:
self.print_stackframe(frame, index)
except gdb.GdbError:
print 'Unable to fsdk.fjkds'
index += 1
frame = frame.newer()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment