Rollup merge of #78699 - pietroalbini:lldb-error, r=jyn514

Show more error information in lldb_batchmode

Even more information to try and debug #78665.
This commit is contained in:
Mara Bos 2020-11-03 19:32:42 +01:00 committed by GitHub
commit f9dd8d37c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ except ModuleNotFoundError:
import _thread as thread
# Set this to True for additional output
DEBUG_OUTPUT = False
DEBUG_OUTPUT = True
def print_debug(s):
@ -102,7 +102,7 @@ def execute_command(command_interpreter, command):
registered_breakpoints.add(breakpoint_id)
else:
print("Error while trying to register breakpoint callback, id = " +
str(breakpoint_id))
str(breakpoint_id) + ", message = " + str(res.GetError()))
else:
print(res.GetError())