Reputation:
A bit more context:
I have a method that is called, and the breakpoint is placed at the start of this method.
Once the debugger hits this - how can I tell what other part of the code invoked the method? (i.e. right before it hit this breakpoint)
Upvotes: 2
Views: 812
Reputation: 38825
In the Debug menu, there is a "Windows" sub menu. Select "Call Stack" within this and you will have your stack trace. You can even interactively click each line to see the method invocation in the appropriate source file as you "walk" up the stack.
Note: This option only shows up whilst debugging.
Upvotes: 4