Once in a while, I come across a feature in the debugger where I ask myself: "I wonder if anyone knows about this feature!"
Yesterday, I came across just such a feature: Did you know that the debugger can play a sound when a breakpoint is triggered? Watch this short video and then continue reading to learn more.
You can configure Visual Studio to play a sound when a breakpoint is triggered via Windows Sounds, as shown below.
I can think of three scenarios where developers would use this feature:
In the video above, I used Homer Simpson’s classic "Doh!" as the sound for when the breakpoint is hit, but ultimately, I couldn't decide what would be the perfect sound for when a breakpoint is triggered. What do you think? If you have any suggestions as to what sound a breakpoint should play, please leave your feedback. Also, let me know of other scenarios where breakpoint sounds would be useful.
Habib Heydarian.