Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-02-10
7
Medium Priority
?
268 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 38

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
Technology Partners: 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 38

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

636 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