在执行结束时禁用暂停

发布于 2025-02-12 12:20:00 字数 122 浏览 0 评论 0原文

按下CTRL+F5时,“无需调试”(在不附加调试器的情况下运行)时,它会在执行结束时等待按键按下。我如何禁用它,以便像F5一样工作(不停顿)?

他们添加了一个复选框,以自动关闭调试中的控制台,但对于非驱动器的执行键?

When pressing ctrl+f5, "start without debugging" (run without attaching the debugger), it waits for a key press in the end of execution. How do I disable it so it would work like f5 (no pause)?

They added a checkbox to automatically close the console in debug but not for non-debug exec?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

简美 2025-02-19 12:20:00

该问题似乎在VS2022中解决了。如所注明的在这里调试设置中的调试时“关闭控制台”在调试设置中“在调试设置结束”时也可以在不调试的情况下启动,但显然只有,但显然只有对于VS2022。该选项的文本具有误导性(可能有人在更改行为时忘了更新该选项),但似乎需要新的行为。

The issue seems to be fixed in VS2022. As noted here the option "Close console when debugging ends" in the debug settings works also when starting without debugging, but apparently only for VS2022. The text of the option is misleading (probably somebody forgot to update that when the behavior was changed) but it seems the new behavior is desired.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文