Search
Tuesday, January 22, 2019 ..:: Home ::.. Register  Login

Peter Henry on Facebook  Peter Henry on LinkedIn  Peter Henry on Twitter

   Calendar  
     
  
   Search  
     
  
   Blogroll  
     
  
   Disclosure  
All blog entries are the opinions of the author and do not necessarily reflect the opinions of their employer. All the code presented is for explanation and demonstration purposes only. Any damages incurred to your site and/or data are not the responsibility of the author. Every effort is taken to ensure the code properly compiles, however sometimes there are some hiccups and you might be required to do your own debugging.
     
  
   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!

Tags:
Categories:
Location: Blogs Parent Separator TechTidBits

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