1 # Test shows that source line breakpoint works with LLDB on demand symbol loading.
3 # UNSUPPORTED: system-windows
6 # RUN: %build %p/Inputs/basic.cpp -o basic.out
7 # RUN: %lldb -b -O "settings set symbols.load-on-demand true" -s %s basic.out | FileCheck %s
10 # CHECK: No breakpoints currently set
12 breakpoint set -f basic.cpp -l 1
13 # CHECK: where = {{.*}}`bar(int, int) + {{.*}} at basic.cpp:1
16 # CHECK: file = 'basic.cpp'
19 # CHECK: stop reason = breakpoint
22 # CHECK: {{.*}}`bar(x=33, y=78) at basic.cpp:1
23 # CHECK: {{.*}}`foo(x=33, y=78) at basic.cpp:3
24 # CHECK: {{.*}}`main(argc=1, argv={{.*}}) at basic.cpp:5