mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
lldb_batchmode: show more error information
Even more information to try and debug #78665.
This commit is contained in:
parent
0af9f7edb7
commit
c32de757cd
@ -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())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user