Solved

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

Posted on 2011-02-10
7
253 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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