Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Call stack window always empty

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?

like image 445
m.edmondson Avatar asked Jan 14 '11 11:01

m.edmondson


People also ask

What does the call stack window show during the simulation?

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.

What is call stack window?

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.

How do I turn on call stack?

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.


1 Answers

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

like image 94
m.edmondson Avatar answered Oct 11 '22 01:10

m.edmondson