Go to current executing statement in Visual Studio while Debugging

烈酒焚心 提交于 2019-12-20 08:46:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!