Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show more error information in lldb_batchmode #78699

Merged
merged 1 commit into from
Nov 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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