exception ¤
Common exception handling.
Functions:
-
print_exception– -
inform_report_issue–Informs user that he can report an issue.
-
inform_verbose_and_debug– -
handle–Displays an exception to the user, optionally displaying a full traceback
-
set_trace–Enable sane debugging in Pwndbg by switching to the "real" stdio.
-
update–
Attributes:
verbose module-attribute ¤
verbose = add_param(
"exception-verbose",
False,
"print a full stacktrace for exceptions raised in Pwndbg commands",
)
debug module-attribute ¤
debug = add_param(
"exception-debugger",
False,
"whether to debug exceptions raised in Pwndbg commands",
)
inform_report_issue ¤
Informs user that he can report an issue. The use of caching makes it reporting only once for a given exception message.
handle ¤
Displays an exception to the user, optionally displaying a full traceback and spawning an interactive post-moretem debugger.
Notes
set exception-verbose onenables stack traces.set exception-debugger onenables the post-mortem debugger.