By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,771 Members | 1,709 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,771 IT Pros & Developers. It's quick & easy.

What's the difference between Debug and Release?

P: n/a
Since I need to dotfuscate my exe file anyway, does it make any
difference if I use Debug or Release versions. Would a Debug
version be easier to decompile/study/reverse engineer than a
Release version, both having been dotfuscated by the standard
dotfuscator of visual studio 2003 ?

Tia
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Guy,

Your best bet is to go with the Release version. From the Help file:

"Dotfuscator removes debug information and non-essential metadata from a
MSIL file as it processes it. Aside from enhancing protection and security,
this also contributes to the size-reduction of MSIL files."

Hope this answers your question.

Scott

"guy" wrote:
Since I need to dotfuscate my exe file anyway, does it make any
difference if I use Debug or Release versions. Would a Debug
version be easier to decompile/study/reverse engineer than a
Release version, both having been dotfuscated by the standard
dotfuscator of visual studio 2003 ?

Tia

Nov 21 '05 #2

P: n/a
> Your best bet is to go with the Release version. From the Help file:

"Dotfuscator removes debug information and non-essential metadata from a
MSIL file as it processes it. Aside from enhancing protection and security, this also contributes to the size-reduction of MSIL files."


The Release version is 36k
The Debug version is 24k

Size actually increases in the release version.

Nov 21 '05 #3

P: n/a
Guy,
The Release version is 36k
The Debug version is 24k


That's interesting, I've only seen the size decrease from Debug to Release
builds, are you certain you did not flip the numbers or looking at an early
build of one of the assemblies?

For example a Windows Service I am currently working on:

Windows Service: Release=48KB, Debug=52KB, about 8% decrease
Class Library: Release=56KB, Debug=60KB, about 7% decrease
Windows App: Release=196KB, Debug=204KB, about 4% decrease

Which makes sense, as among other things, the VB.NET compiler actually adds
extra NOP IL instructions to allow setting break points on VB statements,
that normally you could not break on. These NOPs are not written in Release
builds. You can use ILDASM.exe to see the differences in the IL created
between Debug & Release builds...

Hope this helps
Jay
<guy> wrote in message news:OU**************@TK2MSFTNGP09.phx.gbl...
Your best bet is to go with the Release version. From the Help file:

"Dotfuscator removes debug information and non-essential metadata from a
MSIL file as it processes it. Aside from enhancing protection and

security,
this also contributes to the size-reduction of MSIL files."


The Release version is 36k
The Debug version is 24k

Size actually increases in the release version.

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.