Click to See Complete Forum and Search --> : debug a code in release build


++VC++
November 20th, 2003, 07:03 AM
Hi All,

Can anybody tell me how can i debug a code in release build
i mean what all settings are required to do so , i am using VC++7.0


Thanks,
Rohit

vicodin451
November 20th, 2003, 07:41 AM
I just created a new MFC App, changed the config to release, slapped a breakpoint somewhere, hit F5, and went right to the breakpoint. In short, "nothing" needs to be done to the project settings to be able to debug a release build. Unless, of course, you've changed them from their defaults, and would like to change them back...
If this is the case, I could describe the settings required, but perhaps it would be a better exercise for you to create a sample project, do what I did (above), and then compare project settings in the release config for the 2 projects...