1 | #import <Foundation/Foundation.h> |
---|---|
2 | |
3 | int main () |
4 | { |
5 | @autoreleasepool |
6 | { |
7 | struct foo { |
8 | int x; |
9 | int y; |
10 | } myFoo; |
11 | |
12 | myFoo.x = 2; |
13 | myFoo.y = 3; // First breakpoint |
14 | |
15 | NSString *string = [NSString stringWithFormat:@"%s", "Hello world!"]; |
16 | |
17 | NSLog(@"%d %@", myFoo.x, string); // Second breakpoint |
18 | } |
19 | } |
20 |