热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

VisualStudio2013调试键盘快捷方式无法正常工作-VisualStudio2013Debugkeyboardshortcutsarenotworking

IjustgotanewcomputerwithWindows8andinstalledVisualStudio2013onitandnowIhaveanis

I just got a new computer with Windows 8 and installed Visual Studio 2013 on it and now I have an issue with debugger shortcuts - I run application in a debug mode and it breaks at the first break point but when I try going further line by line, F10 does not work from the keyboard - only VS Debug menu. Anything I am missing?

我刚刚得到一台装有Windows 8的新计算机,并在其上安装了Visual Studio 2013,现在我遇到了调试器快捷方式的问题 - 我在调试模式下运行应用程序,它在第一个断点处中断,但是当我尝试进一步逐行时,F10不能从键盘 - 只有VS调试菜单。我错过了什么?

P.S. The issue was the function key. It needs to be turned on in order to use F keys

附:问题是功能键。需要打开才能使用F键

5 个解决方案

#1


3  

On Lenovo laptops, there is a shortcut to disable the Fn key automatically running the default Windows shortcuts.
Hit the Fn key and the Esc key at the same time to toggle the "Hot Key" default.

在Lenovo笔记本电脑上,有一个快捷方式可以禁用Fn键自动运行默认的Windows快捷方式。同时按Fn键和Esc键可切换“热键”默认值。

Hope this works for other Laptop brands since this is an easy shortcut for newer Lenovo laptops.

希望这适用于其他笔记本电脑品牌,因为这是新款联想笔记本电脑的简易快捷方式。

#2


1  

Please follow the instruction here, though it talks about visual studio 2010 it should help you to analyze the problem. it may be solved with the steps described there and if not, please let me know...

请按照这里的说明进行操作,虽然它谈到了Visual Studio 2010,它应该可以帮助您分析问题。它可以通过那里描述的步骤解决,如果没有,请告诉我...

Why does F10 (step over) in Visual Studio 2010 not work?

为什么Visual Studio 2010中的F10(跳过)不起作用?

Update Adding the answer from the source in case the link will be removed:

更新从源中添加答案,以防链接被删除:

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?

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

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,这将阻止在Visual Studio启动时加载所有第三方VSPackage;如果问题在安全模式下消失,您可以考虑检查已安装的附加组件或VSPackage。

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的所有活动记录到日志文件中以进行进一步的故障排除,请使用/ Log开关,并在此处发布日志文件内容,以便我们对其进行更多调查。

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:

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

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

使用“Devenv.exe / ResetSettings”命令恢复Visual Studio默认设置。请在恢复到默认设置之前备份您的设置。

Repair/reinstall 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在“添加或删除程序”对话框中,选择“Visual Studio”,然后单击“更改/删除”。

#3


1  

I resolved my issue and wanted to post an answer in case anyone is looking for it. Enabling function key does not require any complicated solution, it can be enabled by changing settings in:

我解决了我的问题,想发布一个答案,以防有人在寻找它。启用功能键不需要任何复杂的解决方案,可以通过更改以下设置来启用它:

Control Panel -> Hardware and Sound (Category) -> Windows Mobility Center -> Adjust Commonly Used Mobility Settings

控制面板 - >硬件和声音(类别) - > Windows移动中心 - >调整常用的移动设置

Look Under Function Key Behavior and change the dropdown value to "Function Key" to enable Fn key.

查看功能键行为,并将下拉值更改为“功能键”以启用Fn键。

To disable it, select "Multimedia Key" 

要禁用它,请选择“多媒体键”

See: http://elena-sqldba.blogspot.com/2015/05/how-to-enable-function-key-on-windows.html

请参阅:http://elena-sqldba.blogspot.com/2015/05/how-to-enable-function-key-on-windows.html

#4


0  

I had the same problem. My solution was a bit different and can apply to any key. My F10 key was not working. After unplugging the keyboard and plugging it back in did not fix the problem, I twisted the keyboard like an ice cube tray and the F10 key started working again.

我有同样的问题。我的解决方案有点不同,可以应用于任何密钥。我的F10键没有用。拔下键盘并将其重新插入后没有解决问题,我把键盘像冰块托盘一样扭曲,F10键再次开始工作。

#5


0  

Also check 3rd party software. In my case I had Camtasia Recorder open and minimized, which apparently intercepts the F10 input (thanks, TechSmith)

还要检查第三方软件。在我的情况下,我将Camtasia Recorder打开并最小化,这显然拦截了F10输入(谢谢,TechSmith)


推荐阅读
  • 在 Windows 10 中,F1 至 F12 键默认设置为快捷功能键。本文将介绍几种有效方法来禁用这些快捷键,并恢复其标准功能键的作用。请注意,部分笔记本电脑的快捷键可能无法完全关闭。 ... [详细]
  • 优化ListView性能
    本文深入探讨了如何通过多种技术手段优化ListView的性能,包括视图复用、ViewHolder模式、分批加载数据、图片优化及内存管理等。这些方法能够显著提升应用的响应速度和用户体验。 ... [详细]
  • 本文详细介绍了 GWT 中 PopupPanel 类的 onKeyDownPreview 方法,提供了多个代码示例及应用场景,帮助开发者更好地理解和使用该方法。 ... [详细]
  • 本文将介绍如何编写一些有趣的VBScript脚本,这些脚本可以在朋友之间进行无害的恶作剧。通过简单的代码示例,帮助您了解VBScript的基本语法和功能。 ... [详细]
  • Explore a common issue encountered when implementing an OAuth 1.0a API, specifically the inability to encode null objects and how to resolve it. ... [详细]
  • 1.如何在运行状态查看源代码?查看函数的源代码,我们通常会使用IDE来完成。比如在PyCharm中,你可以Ctrl+鼠标点击进入函数的源代码。那如果没有IDE呢?当我们想使用一个函 ... [详细]
  • 本文详细介绍了如何使用 Yii2 的 GridView 组件在列表页面实现数据的直接编辑功能。通过具体的代码示例和步骤,帮助开发者快速掌握这一实用技巧。 ... [详细]
  • MongoDB集群配置:副本集与分片详解
    本文详细介绍了如何在MongoDB中配置副本集(Replica Sets)和分片(Sharding),并提供了具体的步骤和命令,帮助读者理解并实现高可用性和水平扩展的MongoDB集群。 ... [详细]
  • 本文详细解析了Python中的os和sys模块,介绍了它们的功能、常用方法及其在实际编程中的应用。 ... [详细]
  • 本文详细介绍如何使用Python进行配置文件的读写操作,涵盖常见的配置文件格式(如INI、JSON、TOML和YAML),并提供具体的代码示例。 ... [详细]
  • 本文介绍了在使用Visual Studio 2015进行项目开发时,遇到类向导弹出“异常来自 HRESULT:0x8CE0000B”错误的解决方案。通过具体步骤和实践经验,帮助开发者快速排查并解决问题。 ... [详细]
  • 本文介绍了如何使用JQuery实现省市二级联动和表单验证。首先,通过change事件监听用户选择的省份,并动态加载对应的城市列表。其次,详细讲解了使用Validation插件进行表单验证的方法,包括内置规则、自定义规则及实时验证功能。 ... [详细]
  • 本文介绍如何通过注册表编辑器自定义和优化Windows文件右键菜单,包括删除不需要的菜单项、添加绿色版或非安装版软件以及将特定应用程序(如Sublime Text)添加到右键菜单中。 ... [详细]
  • 本文详细介绍了如何构建一个高效的UI管理系统,集中处理UI页面的打开、关闭、层级管理和页面跳转等问题。通过UIManager统一管理外部切换逻辑,实现功能逻辑分散化和代码复用,支持多人协作开发。 ... [详细]
  • 本文详细探讨了在Android 8.0设备上使用ChinaCock的TCCBarcodeScanner进行扫码时出现的应用闪退问题,并提供了解决方案。通过调整配置文件,可以有效避免这一问题。 ... [详细]
author-avatar
mobiledu2502885993
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有