Debug vs. Release in .NET………….
Basically, debug mode is for you as a developer. It means that extra information
is contained in the executable (or dll) (for instance type info).
Compiling and linking your source code in debug mode allows you to break the
execution of your program using int 3 (interrupt 3). You can then step through
Obviously, all these goodies have a price. Your program will run much slower, and
it will be much bigger.
Release mode is for your customers. When you compile and link your program in
this mode your code will be optimized. Your program will run as fast as possible,
and will be much smaller.
Obviously, the price of the release mode is that you can’t (easily) break the
execution of your program to step through your code.
SHARE THE KNOWLEDGE