
February 4th, 2013, 01:25 AM
|
|
Registered User
|
|
Join Date: Nov 2012
Location: Artesia, CA 90701
Posts: 3
Time spent in forums: 1 h 5 m 54 sec
Reputation Power: 0
|
|
|
In debug mode, many of the compiler optimizations are turned off which allow the generated executable match up with the code. This allows breakpoints to be set accurately and allows a programmer to step through the code one line at a time. Debugging information is also generated help the debugger figure out where it is in the source code.
In release mode, most of the compiler's optimizations are turned on. Chunks of your code could be completely deleted, removed, or rewritten. The resulting executable will most likely not match up with your written code. However, normally release mode will run faster then debug mode due to the optimizations.
|