Solved

Dump the Call Stack into the Output Window?

Posted on 2012-03-23
2
339 Views
Last Modified: 2012-06-27
Is it possible to have the Call Stack entries dump to the Output Window in addition to showing up in the Call Stack window?
0
Comment
Question by:knowlton
2 Comments
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37758645
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
 
LVL 5

Author Closing Comment

by:knowlton
ID: 37768203
Thanks, that works just fine.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now