lldb_batchmode: show more error information

Even more information to try and debug #78665.
This commit is contained in:
Pietro Albini 2020-11-03 12:01:46 +01:00
parent 0af9f7edb7
commit c32de757cd
No known key found for this signature in database
GPG Key ID: 3E06ABE80BAAF19C

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())