From 8842555cac3a8f96958fdd16080b5baab717478d Mon Sep 17 00:00:00 2001 From: Ingo Heimbach Date: Tue, 27 Feb 2018 13:56:24 +0100 Subject: [PATCH] The LLDB wrapper can handle `None` as output from the Python lldb module --- autoload/vebugger/lldb_wrapper.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/vebugger/lldb_wrapper.py b/autoload/vebugger/lldb_wrapper.py index 534eb9e..cd6690c 100755 --- a/autoload/vebugger/lldb_wrapper.py +++ b/autoload/vebugger/lldb_wrapper.py @@ -213,6 +213,8 @@ class Debugger(object): def prefix_output(output, prefix): + if output is None: + output = '' lines = output.split('\n') lines = [prefix + line for line in lines] prefixed_output = '\n'.join(lines)