Skip to content

exception ¤

Functions:

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",
)

print_exception ¤

print_exception(exception_msg) -> None

inform_unmet_dependencies ¤

inform_unmet_dependencies(errors) -> None

Informs user about unmet dependencies

inform_report_issue ¤

inform_report_issue(exception_msg) -> None

Informs user that he can report an issue. The use of caching makes it reporting only once for a given exception message.

inform_verbose_and_debug ¤

inform_verbose_and_debug() -> None

handle ¤

handle(name='Error')

Displays an exception to the user, optionally displaying a full traceback and spawning an interactive post-moretem debugger.

Notes
  • set exception-verbose on enables stack traces.
  • set exception-debugger on enables the post-mortem debugger.

set_trace ¤

set_trace() -> None

Enable sane debugging in Pwndbg by switching to the "real" stdio.

update ¤

update() -> None