Visual Studio-阻止F11启动调试器? [英] Visual Studio - Prevent F11 from starting the debugger?

查看:121
本文介绍了Visual Studio-阻止F11启动调试器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以防止Visual Studio在按 F11 时启动调试器?当我想实际按 F12 时,经常会误按它. 我不想放弃 F11 提供的Step-in功能,但是在启动应用程序时很烦人.

Is there a way to prevent Visual studio to start the debugger when pressing F11? I often press it by mistake when I want to actually press F12. I do not want to loose the functionality of Step-into which F11 provides but it is annoying when it starts the application.

推荐答案

我使用的一种变通方法是在意外击中 F11 后使用cancel build命令.默认快捷方式是 ctrl + 暂停/中断.

A hack-around that I use is to use the cancel build command after I accidentally hit F11. The default shortcut is ctrl+pause/break.

这不会停止 F11 开始构建,但是应该阻止它运行程序.

This doesn't stop F11 starting a build, but should stop it from running your program.

这篇关于Visual Studio-阻止F11启动调试器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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