title: Generating Symbols in release binaries with Visual Studio
body: <p>Update: I posted a comment on <a href="http://www.wintellect.com/CS/blogs/jrobbins/default.aspx" rel="nofollow noreferrer">John Robbins</a> blog about the. He wrote a response here:</p>
  
  <p><a href="http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/06/19/do-pdb-files-affect-performance.aspx" rel="nofollow noreferrer">http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/06/19/do-pdb-files-affect-performance.aspx</a></p>
  
  <p>The project I am working on does not build symbols for its release binaries, and I would like to change this.</p>
  
  <p>Some info:</p>
  
  <ul>
  <li>Mostly C++ code base, some C#.</li>
  <li>Compiled under VS2k5, will be moving to VS2k8 Team System.</li>
  <li>Time critical software.</li>
  <li>Must have optimizations enabled.</li>
  <li>Source code is provided to customer so full symbols are fine.</li>
  </ul>
  
  <p>What are the best command line switches to generate what I need, and what, if any, performance hits am I going to take?</p>
  
  <p>Also, are there any "Gotchas" to be aware of?</p>