Dump the Call Stack into the Output Window?

Is it possible to have the Call Stack entries dump to the Output Window in addition to showing up in the Call Stack window?
LVL 5
Tom KnowltonWeb developerAsked:
Who is Participating?
 
BuggyCoderConnect With a Mentor Commented:
Debug.Print(Environment.StackTrace);

Open in new window


Refer these links for more details:-
http://msdn.microsoft.com/en-us/library/system.environment.stacktrace.aspx

here is bit more on stack trace class use:-
http://www.csharp-examples.net/reflection-callstack/
0
 
Tom KnowltonWeb developerAuthor Commented:
Thanks, that works just fine.
0
All Courses

From novice to tech pro — start learning today.