delphidelphi-xe7compiler-directivesmadexcept

madExcept required compiler directives


I use madExcept (not from the IDE) but in a automated batch process.

Which compiler directives I should switch on in order to have stack trace and line numbers. I do not care about loaded modules, processes or CPU registers.

I currently run with:

{$DEBUGINFO ON}
{$LOCALSYMBOLS ON}
{$REFERENCEINFO OFF}

But would like remove as much "fat" as possible but preserve the line numbers.


Solution

  • These are the key settings:

    The local symbols and reference info options don't affect the madExcept bug reports. None of the settings you mention affect the size of the executable.