Hi guys
Is there any way to access the call stack information inside a C# app?
Initially I want to call a method on a custom trace object which records
that the method has been called, and when the method has completed.
I don't want to have to do something like
public void ProcessData()
{
myCustomTrace.Log("ProcessData() called...");
...
myCustomTrace.Log("ProcessData() completed");
Quote:
}
I would rather just do:
public void ProcessData()
{
myCustomerTrace.ProcedureCalled();
...
myCustomerTrace.ProcedureCompleted();
Quote:
}
and have it automatically work out where I was.
Many thanks in advance for any help
Adam