Call Stack

delphi package - automated exception handling
Post Reply
x3mike
Posts: 8
Joined: Fri Apr 26, 2013 12:50 pm

Call Stack

Post by x3mike »

Hello,

is it possible to create a call stack log without an exception? I want to log on special situations within a dll.

Thanks,
Michael
iconic
Site Admin
Posts: 1065
Joined: Wed Jun 08, 2005 5:08 am

Re: Call Stack

Post by iconic »

Hello,

You can use madExcept.GetThreadStackTrace() for a callstack log of a selected thread or madExcept.GetCrashStackTrace() for the current thread. No exception needs to be generated in order to view this

http://help.madshi.net/madExceptUnit.ht ... StackTrace

--Iconic
Post Reply