Difference Between Release Build and Debug Build EXE

Hi experts,

             What is the difference between  Release Build and Debug Build EXE in windows OS.What are the informations contained the both version.

Thanks & Regards,
Vimal.
LVL 2
vimalalexAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris MillardCommented:
Well, the debug build has lots of extra information in the exe that makes it easier to troubleshoot AND reverse engineer - it includes things such as labels, routine name etc.... so that when YOU are debugging it, you next exactly where you are in the code. You would NOT want this exe going out on to the internet!

The release version has all of the debugging information removed.
0
TommySzalapskiCommented:
The Debug version contains variable names, source code, and other debugging stuff so you can step through the code a line at a time and see exactly what is going on.

The Release version strips all that extra junk out and also runs several optimizations to speed things up.

You'll notice that the Debug exe is generally quite a bit larger than the Release and runs much slower; however, if you try to step through your code while in Release mode, you'll find it quite frustrating.

In short, the names really just about say it all. Debug is for debugging and Release is what you release to the end user.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C

From novice to tech pro — start learning today.