In visual studio or any other IDE, usually there are two build configurations, Debug and Release? How does the differ? Why sometimes you have compile errors when building in Debug mode, but not when in Release mode, and vice versa?
+3
A:
Debug compiles with symbols and allows you to "see" your code when it runs. It also does some initialization of variables to help in the bug tracking process.
Release is generally optimized, and does not generate debug data.
Generally when you get compile issues toggling between the two, it relates to hard coded paths to folders.
Nix
2010-04-16 03:45:54
+2
A:
The debug build is created with some embedded information (symbols) which allows the debugger to debug the application and exposes the runtime behavior of the application. On the down side, the debug build is a bit slower and inefficient in execution and has a bigger memory footprint.
Source:http://www.programmersheaven.com/2/FAQ-VISUALSTUDIO-Debug-Release
Luis
2010-04-16 03:50:10