Skip to content
Permalink
Browse files

lldb: avoid mixing "Hit breakpoint" message with other output.

  • Loading branch information...
eddyb committed Sep 9, 2019
1 parent 824383d commit 625a9d6a4b0d0ef89e9a70e91275b7f91d871e65
Showing with 4 additions and 1 deletion.
  1. +4 −1 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

0 comments on commit 625a9d6

Please sign in to comment.
You can’t perform that action at this time.