User forums > Help

VC Toolkit 2003 Debug Symbols

(1/2) > >>

roussec:
Hello,

I am trying to build a debugable executable. The options I set are 'Produce Debugging Symbols", "Disable Optimizations", "Enable C++ Exceptions", "__cdecl calling convention" and "Single Threadded runtime Library". In the linker options the only option I set (manually) is /DEBUG. When I build my project the linker tries to link with the release libraries (e.g. libc.lib instead of libcd.lib) and complains about missing .pdb files (which are of course only available for libs like libcd.lib ....)

I think I was able to produce debugable executables with beta1?! Did something change in Code::Blocks regarding this or am I doing something wrong? What flag am I missing?

Btw.: Do you plan to implement a Linker Setting Dialog (with checkboxes and so on) like for the compiler settings?

Thank you,

Christian

rickg22:
hee hee... we didn't count so many people would use VC toolkit... :lol: see... VC debugging is not implemented yet :oops:

roussec:
I am not talking about debuging in Code::Blocks, I use WinDBG. I want to know if something changed in the Linker part or if it is (most likely) my mistake since I do not specify the right switch.

zieQ:
Well, actually, compiler and linker options are mixed together, it's a mess. The whole compiler plugin will be reworked to account for this problem after v1. Maybe some little fixes could be performed before this anyway, please submit a bug report for this missing /debug option ;)

Anyway, if you want to link with libcd.lib instead of libc.lib, you should set Single Threaded Debug Runtime instead of Single Threaded Runtime.

roussec:
Thank you for the answer, that was what I was searching for :) I do not really get the file a bug report joke :? I do have to add /DEBUG or don't I?

C.

Navigation

[0] Message Index

[#] Next page

Go to full version