| Subject: print call stack |
How do I programatically write the names of the functions on the call stack to a log file?
Using .net (aspnet in vs 2008).
|
| Subject: Re: print call stack |
On Aug 20, 2:09=A0am, "Anonymous" <bi...@microsoft.com> wrote: > How do I programatically write the names of the functions on the call sta= ck > to a log file?
System.Diagnostics.StackTrace, as in: string myCaller =3D new StackTrace()).GetFrame(1).GetMethod().ToString();
|