User forums > Using Code::Blocks
Using GDB with makefile compilation
(1/1)
Stef_D:
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 ?
mandrav:
Enable the debugger's *debug* log (in "Settings->Compiler and debugger->Debugger") and post its contents...
Stef_D:
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 :)
Game_Ender:
--- Quote from: Stef_D on August 05, 2006, 12:15:22 am ---Edit Edit : hmmm... sorry i just found the problem, it's was a very stupid thing :oops:
Thanks for your help anyway :)
--- End quote ---
Mind filling us in on the solution, just for future reference.
Navigation
[0] Message Index
Go to full version