Skip to content

Commit

Permalink
Rollup merge of rust-lang#78699 - pietroalbini:lldb-error, r=jyn514
Browse files Browse the repository at this point in the history
Show more error information in lldb_batchmode

Even more information to try and debug rust-lang#78665.
  • Loading branch information
Dylan-DPC committed Nov 3, 2020
2 parents 858ddf2 + c32de75 commit 4919b7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etc/lldb_batchmode.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import _thread as thread

# Set this to True for additional output
DEBUG_OUTPUT = False
DEBUG_OUTPUT = True


def print_debug(s):
Expand Down Expand Up @@ -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())

Expand Down

0 comments on commit 4919b7c

Please sign in to comment.