diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-09-09 17:37:38 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-09-09 19:00:08 +0300 |
| commit | 625a9d6a4b0d0ef89e9a70e91275b7f91d871e65 (patch) | |
| tree | d750820061b5b08d2398a81886b293ab5a9f980e /src/etc/lldb_batchmode.py | |
| parent | 824383d4ab66abd32abc6e19b68d78ecfddcb7d4 (diff) | |
| download | rust-625a9d6a4b0d0ef89e9a70e91275b7f91d871e65.tar.gz rust-625a9d6a4b0d0ef89e9a70e91275b7f91d871e65.zip | |
lldb: avoid mixing "Hit breakpoint" message with other output.
Diffstat (limited to 'src/etc/lldb_batchmode.py')
| -rw-r--r-- | src/etc/lldb_batchmode.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/etc/lldb_batchmode.py b/src/etc/lldb_batchmode.py index 537b419b327..7c2e91474c1 100644 --- a/src/etc/lldb_batchmode.py +++ b/src/etc/lldb_batchmode.py @@ -45,7 +45,10 @@ def normalize_whitespace(s): def breakpoint_callback(frame, bp_loc, dict): """This callback is registered with every breakpoint and makes sure that the - frame containing the breakpoint location is selected""" + frame containing the breakpoint location is selected """ + + # HACK(eddyb) print a newline to avoid continuing an unfinished line. + print("") print("Hit breakpoint " + str(bp_loc)) # Select the frame and the thread containing it |
