After being introduced to the call stack window by this ASP.NET MVC video I've attempted to understand how it works.
My understanding was that it shows all of the method calls - in the order they were called. However its always blank whilst I'm debugging - am I doing something wrong?
The Call Stack window is used to display all currently running threads in a process. It can be used to identify which thread is operational, immediately before program failure occurs. When a Simulation is active, the Call Stack will show the current execution context for the running simulation.
By using the Call Stack window, you can view the function or procedure calls that are currently on the stack. The Call Stack window shows the order in which methods and functions are getting called. The call stack is a good way to examine and understand the execution flow of an app.
Using the Call Stack Window To open the Call Stack window in Visual Studio, from the Debug menu, choose Windows>Call Stack. To set the local context to a particular row in the stack trace display, select and hold (or double click) the first column of the row.
Ahh - As is usually the case once I've asked a question I work it out!
Its turns out it is only shown when a breakpoint has been hit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With