Madexceptbpl Top -
You can safely ignore this as internal bookkeeping. Focus on the lines above top – those are your actual crash locations. If top is the only line shown, your stack is corrupted, and you need to enable “Copy stack trace as text” and submit it to Madshi forums. Part 5: Best Practices for MadExcept + BPL Projects To avoid ever needing to search for madexceptbpl top again, follow these golden rules:
call TopOfStack -> returned 0x... In poorly symbolized call stacks, this becomes [madexceptbpl] top . madexceptbpl top
Inside madExcept.pas , there is a function called TopOfStack (or GetTopOfStack ), which returns the highest memory address of the current thread’s stack. When an exception occurs in a BPL, MadExcept sometimes logs the instruction before the crash as: You can safely ignore this as internal bookkeeping
In MadExcept settings → "Exception box" → Check "Show on top of all windows" or add the following to your project’s madExceptSettings.mes : Part 5: Best Practices for MadExcept + BPL
[ExceptionBox] TopMost=1 If you are truly diving into low-level debugging (using WinDbg, IDA Pro, or Delphi’s CPU view), top may be an artifact of MadExcept’s stack frame walking logic.