Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Debugging / October 2005

Tip: Looking for answers? Try searching our database.

StackWalk64 doesn't work without pdb files?!?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shex - 16 Oct 2005 15:55 GMT
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?!?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.