Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Stef_D on August 04, 2006, 11:11:23 pm
-
I've set up my project to use a makefile for compilation.
My makefile use -g option for gcc debug.
But for some reasons it doesn't work i start debug and it doesn't stop on my breakpoint...
Is there a way to have GDB working with makefile project compilation ?
-
Enable the debugger's *debug* log (in "Settings->Compiler and debugger->Debugger") and post its contents...
-
As i'm using a makefile, anyway these options are not used...
And i don't see any debugger's log option, just symbol (-g) which is already here in the makefile.
Compilation Log show :
gcc -g ...
still doesn't work, program execute as no breakpoint present, even if there are here...
Edit : i found the debugger log option (in the plugins setting -> GDB).
log window just stay empty :-/
Edit2 : hmmm... sorry i just found the problem, it was a very stupid thing :oops:
Actually i was using the run button, as i do a lot of delphi development i though it was the debug button ;)
Thanks for your help anyway :)
-
Edit Edit : hmmm... sorry i just found the problem, it's was a very stupid thing :oops:
Thanks for your help anyway :)
Mind filling us in on the solution, just for future reference.