Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error catching

Status
Not open for further replies.

TGabriel

Programmer
Apr 10, 2006
1
RO
hi,
is there any way to acces the CallStack at a given moment in code?

for example
try
some exception
except on E:Exception do ShowMessage(E.Message+<CALLSTACK>)?


for now i use SendMethodEnter('MethodName') and
SendMethodExit('MethodName') to push and pop the names from a stack at the begining and end of a function/procedure.
but i think this gives some overhead on the code ... when a callstack already exists. So any of you know how to acces the callstack without using the ExpertWizards and IOTA family objects?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top