14 lines · c
1#include <stdio.h>2#include "foo.h"3 4int 5main ()6{7 struct foo *my_foo_ptr;8 my_foo_ptr = GetMeAFoo();9 10 printf ("My sub foo has: %d.\n", GetMeASubFoo(my_foo_ptr)->sub_1); // Set breakpoint 0 here.11 12 return 0;13}14 1#include <stdio.h>2#include "foo.h"3 4int 5main ()6{7 struct foo *my_foo_ptr;8 my_foo_ptr = GetMeAFoo();9 10 printf ("My sub foo has: %d.\n", GetMeASubFoo(my_foo_ptr)->sub_1); // Set breakpoint 0 here.11 12 return 0;13}14