Reputation: 12438
Like F12
that takes us to the definition
of something, is there anyway that, when on return
statement I press a shortcut key and it takes me to where the value is being returned?
Upvotes: 0
Views: 231
Reputation: 827
A function's return goes to anywhere it's called from, it's not any single place. You can find wherever a function's called from by using Find All References (Alt+F2 in my mapping, or else right click) on the function definition.
If you're in the middle of a debug session and you're inside a function, you can look up one level on the call stack to see where the function's being called from.
Upvotes: 2