1#include <stdio.h>
2#include <string>
3
4int foo(int x, int y) {
5 printf(format: "Got input %d, %d\n", x, y);
6 return x + y + 3; // breakpoint 1
7}
8
9int main(int argc, char const *argv[]) {
10 printf(format: "argc: %d\n", argc);
11 int result = foo(x: 20, y: argv[0][0]);
12 printf(format: "result: %d\n", result); // breakpoint 2
13 return 0;
14}
15

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