Reputation: 41
How to view stack trace of project in debug mode in VS 2008?
I am running and debugging a big application in VS2008. Build mode is DEBUG, Windows Forms project. Is there a way I can see the pieces of codes getting called, something like Stack Trace in exception while i do normal actions in the form like clicking button, etc...
The project is so big I need to easily find the form being called on each nodes on the tree. It would be very helpful if I can see the something like Call Stack Trace. Call Stack is not working like this btw.
Thanks.
Upvotes: 1
Views: 2895
Reputation: 62096
Sounds like you want some sort of static or dynamic program analysis tool. Here is a good list of some of the more popular tools available for .NET.
Dynamic analysis programs allow you to run the the program and record the class construction and call hierarchy of your application on the fly, for later review.
Static analysis programs require you to point the program at your source code and then build a similar but possibly more exhaustive analysis of your call hierarchy.
See also: What static analysis tools are available for c#
Upvotes: 1
Reputation: 273179
Menu: Debug, Windows, Call Stack.
But you say "it is not working", could you elaborate a little?
Upvotes: 5