1static int static_value = 0;
2
3int
4a_function_to_call()
5{
6 static_value++; // Stop inside the function here.
7 return static_value;
8}
9
10int second_function(int x){
11 for(int i=0; i<10; ++i) {
12 a_function_to_call();
13 }
14 return x;
15}
16
17int main (int argc, char const *argv[])
18{
19 a_function_to_call(); // Set a breakpoint here to get started
20 second_function(x: 1);
21 return 0;
22}
23

source code of lldb/test/API/commands/expression/unwind_expression/main.cpp