Hi
I'm trying to debug a program that includes several custom header files. The thing is that when I set breakpoints inside the include files, the execution flow is not stopped there, only the the main C file.
I guess I'm missing something here.
Regards,
Antonio
Quote from: tuxillo on May 11, 2009, 01:53:52 PM
Hi
I'm trying to debug a program that includes several custom header files. The thing is that when I set breakpoints inside the include files, the execution flow is not stopped there, only the the main C file.
I guess I'm missing something here.
Regards,
Antonio
Yes.
Header files should be solely for defines, prototypes etc. Any functions should be in a C file. The debugger will not help you when headers contain code.
John