This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trying to debug include files

i have a main program with some include files, and i want to debug this files as well as the main program and use breakpoinds.
Anyone knows how to do this???
Thanks

Parents
  • Javier,

    "Include" or header files should typically contain only declarations, while the definitions (that actually generate code) should be in C modules. Generally, having it the other way around is a bad idea as you would attempt to generate code or allocate storage whenever one of those header files is included by a C file. Correcting this philosophical problem will solve your debugging problem as well.

Reply
  • Javier,

    "Include" or header files should typically contain only declarations, while the definitions (that actually generate code) should be in C modules. Generally, having it the other way around is a bad idea as you would attempt to generate code or allocate storage whenever one of those header files is included by a C file. Correcting this philosophical problem will solve your debugging problem as well.

Children