about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-11-03 19:32:42 +0100
committerGitHub <noreply@github.com>2020-11-03 19:32:42 +0100
commitf9dd8d37c2c19f763443a615c47add896bb933bb (patch)
tree7c12f1ea6d7b8c97f137bd05bda4a282d457bd20
parent8a1f9e09a1d03cd5a887ea6275feddb49d6c2014 (diff)
parentc32de757cdc3355a48bbe372cf31c9d60b59a204 (diff)
downloadrust-f9dd8d37c2c19f763443a615c47add896bb933bb.tar.gz
rust-f9dd8d37c2c19f763443a615c47add896bb933bb.zip
Rollup merge of #78699 - pietroalbini:lldb-error, r=jyn514
Show more error information in lldb_batchmode

Even more information to try and debug #78665.
-rw-r--r--src/etc/lldb_batchmode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/lldb_batchmode.py b/src/etc/lldb_batchmode.py
index 629c8e04ec5..fc355c87b52 100644
--- a/src/etc/lldb_batchmode.py
+++ b/src/etc/lldb_batchmode.py
@@ -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())