473,385 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

What's the difference between Debug and Release?

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
3 2165
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
> 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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: ss | last post by:
Hi I built an exe in console debug mode & Release mode . The console debug mode -exe works fine ...but the release mode EXE starts well but fails mid way . The exe is being started as a...
1
by: wen | last post by:
i have written python extend module by c/c++, but i saw a module of a software(pyMOL, you can get it from http://pymol.sourceforge.net/) called _cmd.pyd instead of _cmd.dll. and it is written by...
0
by: Vani | last post by:
Has anyone come across this issue? There seems to be a behavioral difference (and possible bug) in visual strudio 2003 when building a vc.net solution through IDE and building the same solution...
9
by: dee | last post by:
Hi I'm about to upload my site and I have switched to release version. Is that enough or do I still need to disable <compilation defaultLanguage="vb" debug="true" /> the debug="true" in the .pdb...
2
by: Chris Pielak | last post by:
Hi. I'm about to try deploying my ASP.NET application, written with the 1.1 Framework. I'm coming across something odd when compiling in Debug and Release mode. When compiling in Debug mode, I...
3
by: Soundman32 | last post by:
I have written a program that runs fine when launched from a PC with VS2005 installed, but crashes when launched on a PC with just the redistributable installed. The message is the standard...
2
by: Epetruk | last post by:
Hello, I have a problem where an application I am working on throws an OutOfMemoryException when I run it in Release mode, whereas it doesn't do this when I am running in Debug. The...
11
by: ThunderMusic | last post by:
Hi, I have a windows service that only loads a CSV file and import it's data using SqlBulkCopy in a newly created Sql Server 2005 table using 25000 rows batches. If I build the service in debug...
184
by: jim | last post by:
In a thread about wrapping .Net applications using Thinstall and Xenocode, it was pointed out that there may be better programming languages/IDEs to use for the purpose of creating standalone,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.