1#include "other.h"
2
3int function(int x) {
4 if ((x % 2) == 0)
5 return function(x: x - 1) + x; // breakpoint 1
6 else
7 return x;
8}
9
10int function2() {
11 int volatile value = 3; // breakpoint 2
12 inlined_fn(); // position_after_step_over
13
14 return value;
15}
16
17int main(int argc, char const *argv[]) {
18 int func_result = function2();
19 return function(x: 2) - func_result; // returns 0
20}
21

source code of lldb/test/API/tools/lldb-dap/step/main.cpp