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
the code.
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


  

Advertisements

About Dinesh

I am engineering student........ I am selected in Microsoft Student Partner as MSP............

Posted on September 24, 2011, in .NET, ASP.net, C#, Language. Bookmark the permalink. Leave a comment.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: