annotate lldb/test/API/functionalities/step_scripted/main.c @ 227:21e6aa2e49ef

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 19 Jul 2021 06:57:16 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 #include <stdio.h>
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 void foo() {
anatofuz
parents:
diff changeset
4 int foo = 10;
anatofuz
parents:
diff changeset
5 printf("%d\n", foo); // Set a breakpoint here.
anatofuz
parents:
diff changeset
6 foo = 20;
anatofuz
parents:
diff changeset
7 printf("%d\n", foo);
anatofuz
parents:
diff changeset
8 }
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 int main() {
anatofuz
parents:
diff changeset
11 foo();
anatofuz
parents:
diff changeset
12 return 0;
anatofuz
parents:
diff changeset
13 }