Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio: How to trigger an alarm when a breakpoint is hit?

Is there a way to trigger a beep/alarm/sound when my breakpoint is hit? I'm using Visual Studio 2005/2008.

like image 982
Ashwin Nanjappa Avatar asked Sep 17 '08 06:09

Ashwin Nanjappa


People also ask

How do I set breakpoint conditions in Visual Studio?

Right-click the breakpoint symbol and select Conditions (or press Alt + F9, C). Or hover over the breakpoint symbol, select the Settings icon, and then select Conditions in the Breakpoint Settings window.

How do I step through a breakpoint in Visual Studio?

Enter break modeBegin code stepping by selecting F10 or F11. Doing so allows you to quickly find the entry point of your app. You can then continue to press step commands to navigate through the code. Run to a specific location or function, for example, by setting a breakpoint and starting your app.

How do I add a conditional breakpoint in Visual Studio code?

An inline breakpoint can be set using Shift+F9 or through the context menu during a debug session. Inline breakpoints are shown inline in the editor. Inline breakpoints can also have conditions. Editing multiple breakpoints on a line is possible through the context menu in the editor's left margin.

Why does Visual Studio not stop at breakpoint?

This problem occurs because ASP.NET debugging isn't enabled on the application.


1 Answers

Windows XP

Control Panel -> Sounds and Audio... -> Program Events - Microsoft Developer -> Breakpoint Hit

Windows 7

Control Panel -> All Control Panel Items -> Sounds -> Sounds (tab) - Microsoft Visual Studio -> Breakpoint Hit

like image 150
Nescio Avatar answered Sep 23 '22 02:09

Nescio