问题
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?
回答1:
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.
回答2:
Alt-* does take you to the current statement but it also shows you the disassembly. Use Alt-NUMERIC-*
回答3:
Keyboard short cut in Visual Studio to return to current execution statement, press ALT + *
来源:https://stackoverflow.com/questions/20901574/go-to-current-executing-statement-in-visual-studio-while-debugging