Author Topic: How to turn on debug mode?  (Read 4515 times)

flux

  • Guest
How to turn on debug mode?
« on: September 02, 2006, 08:36:05 am »
When I tried to debug, it always said no debugging info. I cant find any option concerning "debugging info" in build option. What should I do?

Offline sque

  • Multiple posting newcomer
  • *
  • Posts: 65
Re: How to turn on debug mode?
« Reply #1 on: September 02, 2006, 08:47:32 am »
At least for gcc compile you go at:
Project->Build options
 You select the Compiler Tab and beyond this the Compiler Flags.
 The first option is: [ ] Produce debuggin symbols (-g)

This will do the trick.
Mention that if you set this option at a specific target. (e.g. "Debug") you must compile and try to debug at this target.
Tell me a bug and I 'll tell you two  :twisted:

flux

  • Guest
Re: How to turn on debug mode?
« Reply #2 on: September 02, 2006, 08:55:31 am »
Perfect. I did it.
Thank you so much.