Skip to content

Commit

Permalink
lldb: avoid mixing "Hit breakpoint" message with other output.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Sep 9, 2019
1 parent 824383d commit 625a9d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/etc/lldb_batchmode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 625a9d6

Please sign in to comment.