diff --git a/voltron/plugins/debugger/dbg_lldb.py b/voltron/plugins/debugger/dbg_lldb.py index 144316c..4dd8ec8 100644 --- a/voltron/plugins/debugger/dbg_lldb.py +++ b/voltron/plugins/debugger/dbg_lldb.py @@ -395,7 +395,8 @@ if HAVE_LLDB: ci = self.host.GetCommandInterpreter() ci.HandleCommand(str(command), res, False) if res.Succeeded(): - return res.GetOutput().strip() + output = res.GetOutput() + return output.strip() if output else "" else: raise Exception(res.GetError().strip()) else: