Debug Settings for Visual Studio 2005

Project settings to allow you to step through a program examining variables:

  1. Configuration Properties > C/C++ > General
    Debug Information Format | C7 Compatible(/Z7)
  2. Optimization :
    Optimization | Disabled(/Od)
  3. Linker > Debugging
    Generate Debug Info | Yes(/DEBUG)