Some application work well in debug mode, but crashes in release mode.
Normally we cannot able to debug in release mode.
Following is the settings to debug in release mode.
1) Open project settings by Alt+F7.
2) Select Release configuration.
3) Select “C/C++” tab. Set “Optimizations” as “Disable Debug” and “Debug Info” as “Program Database”.
4) Select “Link” tab. Enable “Generate Debug Info“.
5) Now From menu bar open "Build"--> "Set active configuration", and select Release build as default.
6) Rebuild the project by F7.
7) Now you can debug in release mode
No comments:
Post a Comment