Link to home
Start Free TrialLog in
Avatar of DSOM
DSOMFlag for United States of America

asked on

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

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!
Avatar of systan
systan
Flag of Philippines image

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.
Avatar of jimyX
jimyX

Below is the default settings as it appears in my Delphi 2009:

Default-Settings-1.JPG
Default-Settings-2.JPG
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
btw,
no need to restart delphi
ASKER CERTIFIED SOLUTION
Avatar of DSOM
DSOM
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
good
Avatar of DSOM

ASKER

I was able to find the solution on my own.  Hopefully this will help others!