Sorry for the lame question but, what's the difference between Debug and Release versions?
Printable View
Sorry for the lame question but, what's the difference between Debug and Release versions?
Debug versions contain debugging information which can make the EXE a LOT bigger. They are also generally slower than their Release version counterparts which are usually optimised for faster execution/smaller executables.
I'm sure someone else could explain this better, but I think this is the jist.
No, no! That's possibly the best reply I could've expected - short and sweet! Drills down like water. Thankzzo much!
Compilers in debug mode also usually define symbols and other symbols in release mode. In other words, on MSVC you can do:
#ifdef _DEBUG
code here
#endif
and this code will only be compiled in debug versions of the program. Some macros, like ASSERT, use this to make sure they get replaced by nothing in release versions.
Quote:
Originally posted by CornedBee
Compilers in debug mode also usually define symbols and other symbols in release mode. In other words, on MSVC you can do:
#ifdef _DEBUG
code here
#endif
and this code will only be compiled in debug versions of the program. Some macros, like ASSERT, use this to make sure they get replaced by nothing in release versions.
Ohhh...I didn't know that..:D..thanks. Then if I get that memory manager up and running I can enclose it into _DEBUG. Smart...:)
ØØ