User forums > Help

MacOSX: CB crashes at Settings/Compiler and debugger

<< < (6/6)

sethjackson:

--- Quote from: bnilsson on October 25, 2006, 08:30:55 pm ---BTW: show me the command line that enables a compile with the debugging option -g.
Is it a configure option?

--- End quote ---


--- Code: ---g++ -g your_source_file.cpp

--- End code ---

bnilsson:
Would I have to change to "g++ -g" in every Makefile?
It seems like a lot of work and to invite mistakes.
Is there a more semi-automatic way to setup the CB build to use this option?

mandrav:
http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks

bnilsson:
I was asking how to build CB with the debug option on, not how to use it.
I have not yet been able to build CB using CB.

afb:
Strange, I instead find that I need to strip my binaries of debugging symbols afterwards ?
(i.e. that it does build with the -g symbols enabled by default, and is huge because of it)

But they might be talking about the extra Code::Blocks debug code, enabled by configure:

--- Code: ---  --enable-debug          turn on debugging (default is OFF)
--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version