3 // This simple program is to test the lldb Python API related to thread.
8 int main (int argc
, char const *argv
[])
10 for (int i
= 0; i
< 3; ++i
) {
11 printf("my_char='%c'\n", my_char
);
15 printf("after the loop: my_char='%c'\n", my_char
); // 'my_char' should print out as 'x'.
17 return 0; // Set break point at this line and check variable 'my_char'.