Visual Studio projects can have separate configurations for Release and Debug versions. Visual Studio creates these versions, with appropriate default settings, automatically when you create a project. You can change the project settings in the Project Property Pages dialog box. (Select the project in the Solution Explorer, then choose Property Pages from the View menu).
Version | Default Values |
---|---|
Debug | Full symbolic debugging information in Microsoft format
No optimization (optimization generally makes debugging more difficult) |
Release | No symbolic debugging information
Optimized for maximum speed |
You can change the debug default options, for example, to output line numbers only, to generate a mapfile, or to redirect output.