Reputation: 6762
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.
Upvotes: 4
Views: 991
Reputation: 612954
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.
Upvotes: 4
Reputation: 4730
According to the mad except help file, you should pass the -gd
switch to the command line compiler in order to get a detailed map file. Don't forget to run the madExceptPatch.exe
tool after compiling.
When you enable madexcept in the project options, it sets the following two compiler options:
{$DEBUGINFO 1}
{$LOCALSYMBOLS ON}
Upvotes: 1