如何让 WinDbg 在遇到断点时播放声音?
不久前,有人问如何您可以让 Visual Studio 的调试器在遇到断点时播放声音。 由于太无聊而无法深入讨论的原因,我经常需要使用 Windows 调试工具,包括 WinDBG。因此,这个类似的问题是:
如何让 WinDBG 在遇到断点时播放声音警报?
Quite a while ago, someone asked how you can make Visual Studio's debugger play a sound when it hits a breakpoint. For reasons too boring to go into, I often need to instead use the debuggers from the Debugging Tools for Windows, including WinDBG. Hence, this analogous question:
How can I make WinDBG play a sound alert when a breakpoint is hit?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 WinDbg 的 < code>.sound_notify 命令。此命令告诉 WinDbg 在开始等待您输入命令时播放声音。断点被命中就是这样的时间,因此
.sound_notify
应该可以满足您的需求。Use WinDbg's
.sound_notify
command. This command tells WinDbg to play a sound whenever it starts waiting for you to enter a command. A breakpoint being hit is just such a time, so.sound_notify
should work for your needs.