News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Using GDB with makefile compilation

Started by Stef_D, August 04, 2006, 11:11:23 PM

Previous topic - Next topic

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...
Be patient!
This bug will be fixed soon...

Stef_D

#2
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 :)

Mind filling us in on the solution, just for future reference.