Friday, March 02, 2001 ..:: Home ::.. Register  Login
   TechTidBits (Blog)  

Do (PDBs == Debug builds) for you too?

Aug 12

Written by:
Tuesday, August 12, 2008 9:03 PM  RssIcon

PDBs are created with Release builds as well as Debug builds.  Here's how to turn that off.

Then you might be very surprised to find out Release builds create them too!

I used to believe if I saw a PDB file then I was dealing with a debug build.  Well today I found out I was wrong!  PDB files are also produced with Release builds.  If you want to disable them (in VS08) you:

  • open up the Project Settings
  • click the Build tab
  • select the Advanced button (bottom right)
  • look for the Output section
  • select none for the Debug Info dropdown

There you go, no more PDBs. 

This comes at a cost though.  You loose the ability for any type forensics or C++ developer personality disecting your minidumps.  hhhmmm have you ever tried reading one of those minidumps?  DOH!

Location: Blogs Parent Separator TechTidBits

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Add Comment   Cancel 
Copyright 1999-2012 by   Terms Of Use  Privacy Statement