Mail Archives: djgpp/1999/07/20/05:11:26
On Mon, 19 Jul 1999, marciom wrote:
> #include <allegro.h>
> #include "fichario.h"
> #include "dados.c"
> #include "interfac.c"
>
> Having split the code in different files I now just can debug
> step-by-step the code in main file "fichario.c".
>
> How do I put it all (maybe using a Project) in a way
> that I can debug/trace code in every file?
Others already told you that including a .c file is a bad idea.
If you really, REALY need to do that, compile your program with
-gstabs+, and then the debugger will be able to step/trace into
the included source.
This is in the FAQ, btw (section 12.8).
- Raw text -