diff --git a/pwndbg/commands/__init__.py b/pwndbg/commands/__init__.py index 8aebe0d47..dad90005c 100644 --- a/pwndbg/commands/__init__.py +++ b/pwndbg/commands/__init__.py @@ -56,6 +56,8 @@ class _Command(gdb.Command): print(te) print('%r: %s' % (self.function.__name__.strip(), self.function.__doc__.strip())) + except Exception: + print(traceback.format_exc()) class _ParsedCommand(_Command): #: Whether to return the string 'arg' if parsing fails.