mattcall65
mattcall65

Reputation: 59

Visual Studio - Hotkey to jump to where a function is called?

Let's say a function only has 1 reference (called only 1 time).

Is there a hotkey to jump from the body of the method, to the line where it is being called?

I know the reverse is F12, but it would be useful if something like this exists.

Upvotes: 1

Views: 1491

Answers (2)

mattcall65
mattcall65

Reputation: 59

Works in debugger:

If you press ctrl + d + c, you can traverse up the call stack and accomplish this.

Upvotes: 1

Jack J Jun- MSFT
Jack J Jun- MSFT

Reputation: 5986

Based on my test, I think Peter's advice is feasible.

First, Please click the method name, like the following:

enter image description here

Second, Please try Shift + F12 to find all the called methods.

enter image description here

Upvotes: 1

Related Questions