User forums > Help

bug: no .pdb debugging info generated

(1/1)

grv575:
Codeblocks uses the /Zi flag to cl.exe
but omits the /debug flag to link.exe
when the enable debugging symbols checkbox is checked.  Both are required.  Please fix, as windbg and drmingw both will read the generate projectname.dbg file fine - making debugging under vc++ toolkit workable.

Btw, I misfiled under the wrong bugname.  Thought it was lack of /pdb link flag but that is not the case:
http://sourceforge.net/tracker/index.php?func=detail&aid=1266954&group_id=126998&atid=707416

zieQ:
Well I think the option management in compiler plugin is not flexible enough for this. There's no way to say that options are mutually exclusive or that an option of the compiler imply an option of the linker. I think the linker /debug flag is set when you compile in debug (-g) but I'm not sure.

Navigation

[0] Message Index

Go to full version