Monday, March 15, 2010

Debugging Visual Studio in Release Mode

There will be times when you want to debug in Release mode. To achieve the same, just do the following steps.

  • In Project Settings (Alt-F7) under the "C++/C tab" set the category to "General" and change the Debug Info setting to "Program Database".
  • Under the "Linker tab", in General check the "Generate Debug Info" tab.
  • "Rebuild All"