Computers, Programming, Technology, Music, Literature

Play a sound when a breakpoint is hit in Visual Studio

with one comment


This article was originally published for and could be located at


Alright, previous post showed you how you could put a Stopwatch while debugging an x64 application in visual studio, now let’s see how you could play a sound when you hit a breakpoint.

This tip is very handy when you are debugging a long running process (say a data import, or third party service call of some sorts), and you just don’t want to stare at the screen like hungry cat. Or you are working on two different workstations and you want a ding or a buzz or a chime when you hit a breakpoint; whatever the reason is, just want to be notified by a sound.

To enable this feature in Windows 7, follow the steps below.

Start –> Type in Change system sounds –> Program Events: –> (scroll down to) Microsoft Visual Studio –> Breakpoint Hit

Select a .wav file under Sounds:

That’s it. Try a sample app for yourself, put a breakpoint and relish.





Written by gmaran23

July 23, 2013 at 9:13 pm

One Response

Subscribe to comments with RSS.

  1. […] That’s how you do it. Or to say the least, that’s how I figured to do it. If there are better options, please let me know. In my next post, I will show you how to play a sound when a Breakpoint is hit. […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: