为什么 Visual Studio 2010 中的 F10(跳过)不起作用? [英] Why does F10 (step over) in Visual Studio 2010 not work?

查看:44
本文介绍了为什么 Visual Studio 2010 中的 F10(跳过)不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我也尝试了 2 个解决方案.但它不起作用.

I also tried 2 solution. But It doesn't worked.

  1. 转到 Visual Studio 中的工具">选项"菜单.
  2. 转到左侧窗格中的调试 > 常规菜单项.
  3. 在右侧视图中,您将看到和选项跳过属性和运算符(仅限托管).取消选中此选项,然后就大功告成了.

  1. 转到 Visual Studio 中的工具">选项"菜单.
  2. 转到左侧窗格中的调试 > 常规菜单项.
  3. 在右侧视图中,您将看到和选项启用仅我的代码(仅限托管).取消选中此选项,然后一切就绪.

推荐答案

在 Options.Keyboard 页面,请从命令列表框中选择Debug.StepOver",然后将焦点放在按快捷键"文本框并按F10,点击分配按钮重新分配快捷方式,有效吗?

In the Options.Keyboard page, please select "Debug.StepOver" from the command listbox, and then put focus to the "Press shortcut keys" textbox and press F10, click Assign button to re-assign shortcut, does it work?

您也可以尝试在安全模式下运行Visual Studio,这会阻止所有第三方VSPackage在Visual Studio启动时加载;如果问题在安全模式下消失,您可以考虑检查您安装的附加组件或 VSPackages.

You can also try to run Visual Studio under safe mode, which will prevents all third-party VSPackages from loading when Visual Studio starts; if the issue disappear under safe mode, you may consider checking your installed add-ons or VSPackages.

其次,要将 Visual Studio 的所有活动记录到日志文件中以便进一步排除故障,请使用/Log 开关,并将日志文件内容发布到此处,以便我们进行更多调查.

Second, to log all activity of Visual Studio to a log file for further troubleshooting, please use the /Log switch, and post the log file content here, so we can do more investigation on it.

如果此功能之前运行良好,突然出现异常,通常表示 Visual Studio 安装的某些文件或配置已损坏或丢失,您可以:

If this feature works well before, and suddenly behave abnormally, it usually indicate that some files or configurations of Visual Studio installation is corrupted or missed, you can:

  1. 使用Devenv.exe/ResetSettings"命令恢复 Visual Studio 默认设置.请在恢复默认设置前备份您的设置.

  1. Restores Visual Studio default settings by using "Devenv.exe /ResetSettings" command. Please backup your settings before restore to default settings.

修复/重新安装 Visual Studio;

Repair/reinstall Visual Studio;

修复 Visual Studio在添加或删除程序"对话框中,选择 Visual Studio,然后单击更改/删除".

To repair Visual Studio In the Add or Remove Programs dialog box, select Visual Studio then click Change/Remove.

这篇关于为什么 Visual Studio 2010 中的 F10(跳过)不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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