projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a387a7
)
Fixed 'cy bt' bug where backtraces wouldn't be printed if the name of a function...
author
Mark Florisson
<markflorisson88@gmail.com>
Sat, 6 Nov 2010 14:17:53 +0000
(15:17 +0100)
committer
Mark Florisson
<markflorisson88@gmail.com>
Sat, 6 Nov 2010 14:17:53 +0000
(15:17 +0100)
Cython/Debugger/libcython.py
patch
|
blob
|
history
diff --git
a/Cython/Debugger/libcython.py
b/Cython/Debugger/libcython.py
index e611aed3b34a79e390eefdbf955905ad6f453de1..30264f60227d304b14a989b819ae0c600d4db550 100644
(file)
--- a/
Cython/Debugger/libcython.py
+++ b/
Cython/Debugger/libcython.py
@@
-907,11
+907,14
@@
class CyBacktrace(CythonCommand):
while frame:
is_c = False
- if print_all or self.is_relevant_function(frame):
- try:
- self.print_stackframe(frame, index)
- except gdb.GdbError:
- print 'Unable to fsdk.fjkds'
+ 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)
index += 1
frame = frame.newer()