在调试时转到Visual Studio中的当前执行语句 [英] Go to current executing statement in Visual Studio while Debugging

查看:524
本文介绍了在调试时转到Visual Studio中的当前执行语句的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio中进行调试时,有时候我们会离当前的执行语句很远。我们可以使用Call Stack窗口回到我们的路上。有没有快捷方式回到Visual Studio中的当前执行语句?

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?

推荐答案

在Debug Context Menu中有一个显示下一个声明选项,应该做你想要的。

In the Debug Context Menu, there's a "Show Next Statement" option that should do what you want.

如果您已经应用了默认的常规开发设置,则默认的键绑定为 Alt-Num * 。要查看设置中的内容,请转到工具 - >选项 - >环境 - >键盘,然后找到 Debug.ShowNextStatement 。您当然也可以将密钥绑定更改为您的首选项。

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.

这篇关于在调试时转到Visual Studio中的当前执行语句的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆