Skip to content

Commit 10f379e

Browse files
committed
[lldb][test] TestFrameFormat: set breakpoints by name
Without this for some reason Linux PR CI was failing with: ``` (lldb) settings set -f frame-format "custom-frame '${function.basename}'\n" check:50'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:50'1 ? possible intended match 9: (lldb) break set -l 5 -f main.cpp check:50'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: Breakpoint 1: no locations (pending). check:50'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: WARNING: Unable to resolve breakpoint to any actual locations. check:50'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
1 parent 33a0a78 commit 10f379e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ int main() {
3838

3939
#--- commands.input
4040
settings set -f frame-format "custom-frame '${function.basename}'\n"
41-
break set -l 5 -f main.cpp
41+
break set -n bar
4242

4343
run
4444
bt

lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ int main() { return bar(); }
2929

3030
#--- commands.input
3131
settings set -f frame-format "custom-frame '${function.template-arguments}'\n"
32-
break set -l 4 -f main.cpp
32+
break set -n func
3333

3434
run
3535
bt

0 commit comments

Comments
 (0)