projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117ef04
)
Generic exception support
author
Mark Florisson
<markflorisson88@gmail.com>
Tue, 14 Dec 2010 22:15:06 +0000
(23:15 +0100)
committer
Mark Florisson
<markflorisson88@gmail.com>
Tue, 14 Dec 2010 22:15:06 +0000
(23:15 +0100)
Cython/Debugger/libpython.py
patch
|
blob
|
history
diff --git
a/Cython/Debugger/libpython.py
b/Cython/Debugger/libpython.py
index ede04047f247be38350dbe498db28092f28a389b..c83d7ddf3f32714404c3daa7e58bbd9e805d4120 100644
(file)
--- a/
Cython/Debugger/libpython.py
+++ b/
Cython/Debugger/libpython.py
@@
-1969,6
+1969,9
@@
class ExecutionControlCommandBase(gdb.Command):
else:
frame = gdb.selected_frame()
if self.lang_info.is_relevant_function(frame):
+ raised_exception = self.lang_info.exc_info(frame)
+ if raised_exception:
+ print raised_exception
print self.lang_info.get_source_line(frame) or result
else:
print result