Go to current executing statement in Visual Studio while Debugging
While debugging in Visual Studio sometimes we wander far away from the current executing statement. We could tread our way back using Call Stack window. Is there a shortcut to go back to the current executing statement in Visual Studio?
In the Debug Context Menu, there's a "Show Next Statement" option that should do what you want.
If you've got the default General Development Settings applied, the default key binding for this is Alt+Num *. To see what it is in your settings, go to Tools -> Options -> Environment -> Keyboard, and find Debug.ShowNextStatement
. You can, of course, also then change the key binding to one of your preference.
Alt-* does take you to the current statement but it also shows you the disassembly. Use Alt-NUMERIC-*
Keyboard short cut in Visual Studio to return to current execution statement, press ALT + *