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:

Thanks in advance!
Avatar of 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

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

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
no need to restart delphi
Avatar of DSOM
Flag of United States of America image

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


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