点击断点时禁用弹出窗口? [英] disable pop-up when hitting breakpoint?

查看:68
本文介绍了点击断点时禁用弹出窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常遇到这种情况:我在调试器中运行我的应用程序,等待它到达我的断点。在我等待的时候,我切换到一个编辑器并写下一些笔记。当我处于一个单词的中间时,我的断点被击中,VS来到
前面,在我意识到发生了什么之前,我已经在断点附近的源代码中输入了半个句子的笔记。 / p>

为什么VS的行为不像其他应用程序,例如Skype for Business,它没有跳到前面,只是突出显示其任务栏图标并发出哔哔声让我知道它有什么对我来说?


除此之外,是否有一些方法可以设置VS在调试时禁用编辑源代码,直到我切换一些开关说我准备好修复我发现的内容?

解决方案

嗨Aaron Peromsik,


欢迎来到MSDN论坛。


" 有没有办法设置VS在调试时禁用编辑源代码 "


请查看此文档:

编辑代码并继续在Visual Studio中调试(C#,VB,C ++)

如何:停止代码更改
,转到相关的链接到您的项目类型并停止代码更改。




  • 调试菜单中选择停止应用代码更改 。此菜单项仅在应用代码更改时可见。如果选择此项选项,没有提交任何代码更改。

在我看来,VS不支持功能或选项,当断点被击中时可能会禁用弹出窗口。很抱歉给您带来不便。


BTW,如果你有兴趣与VS的产品团队讨论这个想法,我建议你通过开放的VS报告它 - >点击IDE右上角的"提供建议" - >选择"建议"
a功能"选项卡并分享您的想法。之后,请耐心等待VS产品团队工程师的回复。



感谢您的理解。



最好的问候


可能


This happens to me regularly: I am running my application in the debugger, waiting for it to get to my breakpoint. While I am waiting I switch to an editor and write some notes. While I am in the middle of a word, my breakpoint gets hit, VS comes to the front, and before I realize what happens I have typed half a sentence worth of notes directly into the source code near my breakpoint.

Why doesn't VS act more like other apps, such as Skype for Business, which does not jump to the front but just highlights its task bar icon and beeps to let me know it has something for me?

Barring that, is there some way to set VS to disable editing source code while debugging, until I toggle some switch to say I am ready to fix what I found?

解决方案

Hi Aaron Peromsik,

Welcome to the MSDN forum.

" is there some way to set VS to disable editing source code while debugging"

Please look at this Docs: Edit code and continue Debugging in Visual Studio (C#, VB, C++) and How to: Stop Code Changes, to go to a link that be relevant to your project type and stop code change.

  • Choose Stop Applying Code Changes from the Debug menu. This menu item is visible only when code changes are being applied. If you choose this option, none of the code changes are committed.

In my view, VS does not support a feature or option what could be disabled pop-up window when breakpoint gets hit. Sorry for your inconvenience.

BTW, if you are interested to talk about this idea with VS's product team, I recommend you to report it through open VS -> click "provide a suggestion" in upper right of IDE -> choose "suggest a feature" tab and share your idea. After that, please be patient waiting for the response from the VS Product Team Engineers.

Thank you for your understanding.

Best Regards

May


这篇关于点击断点时禁用弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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