Hi,
I compiled my project with the C7 option( so the debug information will
be inside).
I run my compiled prograwm and it prints her stack trace.
I noticed that without the pdb files the traces are incomplete, my
methods name are missing, note that windows methods names are printed
correctly and the same goes with libraries i use.
How come?
shouldn't the setting of the C7 option have solved this problem?
I'm using vc++ 2003 under WinXP and the dbghelp.dll's version is
6.0.17.0
in short:
With the pdb file - the trace is printed
when i remove the pdb file - the trace is partially printed
Thanks in Advance
shex
Oleg Starodumov - 17 Oct 2005 09:20 GMT
> I compiled my project with the C7 option( so the debug information will
> be inside).
[quoted text clipped - 10 lines]
> With the pdb file - the trace is printed
> when i remove the pdb file - the trace is partially printed
VC++ 2003 linker cannot put debug information into the executable.
Even if you use /Z7 compiler option, .PDB file is still produced.
You can find more information here:
http://www.debuginfo.com/articles/gendebuginfo.html
Regards,
Oleg
[VC++ MVP]
shex - 17 Oct 2005 14:30 GMT
Thanks, great article : )
Does someone know why is that?!?