Skip to content

Commit

Permalink
[NFC][lldb-vscode] Fix launch test
Browse files Browse the repository at this point in the history
Using br for creating breakpoints fails if there are other commands that
start with br.
  • Loading branch information
walter-erquinigo committed Jul 7, 2021
1 parent 223261c commit d4cb286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,8 @@ def test_extra_launch_commands(self):
# breakpoints get hit
launchCommands = [
'target create "%s"' % (program),
'br s -f main.c -l %d' % first_line,
'br s -f main.c -l %d' % second_line,
'breakpoint s -f main.c -l %d' % first_line,
'breakpoint s -f main.c -l %d' % second_line,
'process launch --stop-at-entry'
]

Expand Down

0 comments on commit d4cb286

Please sign in to comment.