I have the following script in a Delphi (Seattle) BeforeAction script:
Action.Optimisation = False
’ ** Debugging **
Action.DebugInfo = DebugBuild
Action.LocalSymbols = DebugBuild
Action.UseDebugDCU = DebugBuild
’ EXE & DLL Options
Action.IncludeTD32 = DebugBuild
But this has not had and result on the size of the EXE. I also logged the DebugBuild variable right before the action and confirmed it is True and False (in different builds).
Any suggestions?
Thank you,
Ed Dressel
I even tried the following code in the script and it shows the appropriate message:
if DebugBuild then
MsgBox(“Yes”)
else
MsgBox(“No”)
end if
For clarity, the code is run 2x, once for a standard build and once for a debug build.
Exe files are exactly the same. Again, any suggestions on what to look a?
Never mind–I am seeing the same behavior in the IDE.