1#include <stdio.h>
2#include <stdlib.h>
3#include <unistd.h>
4
5int main(int argc, char *argv[]) {
6 const char *foo = getenv(name: "FOO");
7 for (int counter = 1;; counter++) {
8 sleep(seconds: 1); // breakpoint
9 }
10 return 0;
11}
12

source code of lldb/test/API/tools/lldb-dap/runInTerminal/main.c