Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>We use <a href="http://www.dimusware.com/products/excmagic/index.html" rel="noreferrer">Exceptional Magic</a> and it works really well for us. With it you can do something like this:</p> <pre><code>try raise Exception.Create('Something bad happened...'); except on e: Exception do begin CallStack := TStringList.Create; try ExceptionHook.LogException; // Logs call stack ExceptionHook.CallStack.Dump(CallStack); ShowMessage(CallStack.Text); finally CallStack.Free; end; end; end; </code></pre> <p>This yields a pretty detailed call stack:</p> <pre><code>Exception 'Exception' in module BOAppTemplate.exe at 003F3C36 Something bad happened... Module: BOAppUnit, Source: BOAppUnit.pas, Line 66 Procedure: MyProcedure Call stack: :007F4C36 [BOAppTemplate.exe] MyProcedure (BOAppUnit.pas, line 66) :7C812AFB [kernel32.dll] :007F4C36 [BOAppTemplate.exe] MyProcedure (BOAppUnit.pas, line 66) :00404DF4 [BOAppTemplate.exe] System::__linkproc__ AfterConstruction Recursive call (2 times): :007F4C36 [BOAppTemplate.exe] MyProcedure (BOAppUnit.pas, line 66) :007F4CE6 [BOAppTemplate.exe] MyProcedure (BOAppUnit.pas, line 79) :007F4D22 [BOAppTemplate.exe] Boappunit::TBOAppForm::Button1Click (BOAppUnit.pas, line 82) :004604C2 [BOAppTemplate.exe] Controls::TControl::Click :004487FB [BOAppTemplate.exe] Stdctrls::TButton::Click :004488F9 [BOAppTemplate.exe] Stdctrls::TButton::CNCommand :0045FFBA [BOAppTemplate.exe] Controls::TControl::WndProc </code></pre> <p>Exceptional Magic is only $25 without the source, so it's relatively cheap. Hope that helps!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload