Solved

How do I get rid of the debug information in an EXE

Posted on 2011-02-10
7
245 Views
Last Modified: 2012-05-11
In Delphi 2009 I enabled all the debugging features including "Include remote debug info" which made my .EXE jump from around 8MB to over 20MB.  After debugging I set it all back to normal but the .EXE when I build it is still over 20MB.  No idea what I am doing wrong here.

Here are my settings:
http://www.calfinated.com/dc1.jpg
http://www.calfinated.com/dc2.jpg

Thanks in advance!
0
Comment
Question by:DSOM
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 14

Expert Comment

by:systan
ID: 34868626
After changing something, and if you feel its a final configuration?, check the Default CheckBOX; Quit Delphi; then Open it again, try to compile your new project.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34868652
Below is the default settings as it appears in my Delphi 2009:

Default-Settings-1.JPG
Default-Settings-2.JPG
0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 34868774
you need to build (= full compile) your project after changing options like compiler settings

there is no check for changes in options, so you don't get a different exe when compiling as normal

Hit Shift-F9: Rebuild Project
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 34868778
btw,
no need to restart delphi
0
 

Accepted Solution

by:
DSOM earned 0 total points
ID: 34869724
I tried everything here to no avail.  Then on a whim I clicked on "Configuration manager" and I saw that the active setting was still debug.  I made release the active setting and re-built and it finally worked!

0
 
LVL 14

Expert Comment

by:systan
ID: 34871345
good
0
 

Author Closing Comment

by:DSOM
ID: 34932133
I was able to find the solution on my own.  Hopefully this will help others!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now