Skip to content

Commit 625a9d6

Browse files
committed
lldb: avoid mixing "Hit breakpoint" message with other output.
1 parent 824383d commit 625a9d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/etc/lldb_batchmode.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ def normalize_whitespace(s):
4545

4646
def breakpoint_callback(frame, bp_loc, dict):
4747
"""This callback is registered with every breakpoint and makes sure that the
48-
frame containing the breakpoint location is selected"""
48+
frame containing the breakpoint location is selected """
49+
50+
# HACK(eddyb) print a newline to avoid continuing an unfinished line.
51+
print("")
4952
print("Hit breakpoint " + str(bp_loc))
5053

5154
# Select the frame and the thread containing it

0 commit comments

Comments
 (0)