Solved

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

Posted on 2011-02-10
7
241 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
Comment Utility
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
Comment Utility
Below is the default settings as it appears in my Delphi 2009:

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

Expert Comment

by:Geert Gruwez
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 36

Expert Comment

by:Geert Gruwez
Comment Utility
btw,
no need to restart delphi
0
 

Accepted Solution

by:
DSOM earned 0 total points
Comment Utility
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
Comment Utility
good
0
 

Author Closing Comment

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

744 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

14 Experts available now in Live!

Get 1:1 Help Now