Author Topic: bug: no .pdb debugging info generated  (Read 5386 times)

grv575

  • Guest
bug: no .pdb debugging info generated
« on: August 23, 2005, 02:56:57 pm »
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

  • Guest
Re: bug: no .pdb debugging info generated
« Reply #1 on: August 23, 2005, 07:04:19 pm »
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.