Sometimes when you debug your code in Visual Studio you may want to see which methods were executed before your code or breakpoint was hit.

Visual Studio has a very useful window for that purpose called Call Stack. You can access it through the Debug -> Windows -> Call Stack menu. It will list you all the methods that were called before your current code.

Here's a screenshot of where you can find it and how the method calls look in the panel at the bottom of the window.

Visual Studio Call Stack

 

Written by: Mite Tashev