Debug and Release build differences ?

T

TheSteph

Hi,



Does anybody know what's the difference between the "Debug build" of a C#
application and the "Release build" ?



In my case, both are 774.144 bytes, and both seems to have the same
performances in terms of speed.



Thanks.



Steph.
 
A

Andrew Faust

TheSteph said:
Hi,
Does anybody know what's the difference between the "Debug build" of a C#
application and the "Release build" ?

In my case, both are 774.144 bytes, and both seems to have the same
performances in terms of speed.

Debug builds include symbol table information needed for the debugger to
be able to relate the executing code to the source codes. Debug builds
also execute Debug.Assert statments whereas Release builds do not.

I personally haven't noticed as much difference between release and
debug builds in terms of size or performance on .NET apps than I do with
C++.

Andrew Faust
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top