Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2010 debugging - from where is the method called?

In C#, VS 2010, is there a keyboard shortcut to see from where did the breakpoint was hit when you debug?

For example, if I have a breakpoint in a method called myMethod(), and it was hit, how to see from what line was it called?

like image 442
petko_stankoski Avatar asked Dec 04 '22 19:12

petko_stankoski


1 Answers

You can look at the "Call Stack". In VS go to Debug > Windows > Call Stack. In debug mode the call stack will show which methods have been called in order to reach your break point.

like image 103
ckoo Avatar answered Dec 25 '22 01:12

ckoo