From 18583a0f9807774d5e2604906a21a6df35604688 Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Fri, 3 Jun 2016 15:10:31 -0700 Subject: [PATCH] Verbose exceptions --- pwndbg/commands/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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.