Skip to content

Breakpoint Alarm / Sound #135908

Closed
Closed

Description

While debugging:
In Visual Studio it is possible to trigger an alarm sound, whenever a breakpoint is hit. This is extremely useful when having a long running code and after maybe hours a breakpoint is being hit. Tutorial on how to activate

We definitely need that feature in VS Code!

Activity

  1. added
    debug
    feature-request
    on Oct 27, 2021
  2. vscode-triage-bot commented on Oct 27, 2021

    @vscode-triage-bot

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  3. roblourens commented on Oct 27, 2021

    @roblourens
    Member

    I thought audio wasn't supported, now it seems maybe it is for some formats: #47711 (comment). Maybe this is an extension candidate though via DebugAdapterTracker

  4. vscode-triage-bot commented on Oct 28, 2021

    @vscode-triage-bot

    🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  5. dev-manuel commented on Nov 17, 2021

    @dev-manuel

    I'll work on that. Could you please assign me?

  6. weinand commented on Nov 17, 2021

    @weinand
    Contributor

    Manuel (@dev-manuel) thanks for working on this

    /cc Isidor Nikolic (@isidorn)

  7. isidorn commented on Nov 18, 2021

    @isidorn

    This is a fair request, but as a pre-request it has the ability for VS Code to play sounds. This is captured in this issue #130565

    After we have that we plan to add a sound when a user navigates to a line that has a breakpoint.
    However we can also add a different sound when a breakpoint gets hit.

    So I suggest to follow that issue for details, and once we have that we can continue on this one.

    fyi Henning Dieterichs (@hediet)

  8. 9 remaining items

  9. removed
    unreleased
    on Jan 7, 2022
  10. isidorn commented on Jan 7, 2022

    @isidorn

    We are introducing sounds to VS Code. And we have already done so when a user navigates to a line with a breakpoint as part of our audioCue for breakpoints. More details here #90842 (comment)

    We are also thinking of adding a sound when a breakpoint is hit.
    What I am not sure if the sound of a breakpoint hit should be different from a sound of when you navigate across a breakpoint. I think not. I think it should be the same sound, and the user can figure out the context based on if he or she is using keyboard to navigate or not.

    We currently have a audioCues setting that can be "on" | "off" | "auto". I think we need another setting which would be "breakpointHit" or "importantOnly". The point is that I think a lot of users would want sounds when a brekpoint is hit, but not other sounds which are aimed more for our screen reader audance.

    Henning Dieterichs (@hediet) what do you think?

    Sound design by Gino Scarpino (@gino-scarpino)

  11. hediet commented on Feb 17, 2022

    @hediet
    Member

    Implemented in 7057aac.

    You can set audioCues.debuggerStoppedOnBreakpoint to on, off or auto. Default is auto.

  12. added
    verification-needed
    on Feb 18, 2022
  13. isidorn commented on Feb 18, 2022

    @isidorn

    I just tried out it and it works great 👏
    Could we have a better setting name?
    Maybe audioCues.onDebugBreak?

    Andre Weinand (@weinand) roblourens what do you think?

    Users please try it out and let us know what you think.

  14. isidorn commented on Feb 23, 2022

    @isidorn

    I tried it out and works as expected -> adding verified label.

    Users try this out by setting "audioCues.debuggerStoppedOnBreakpoint": "on" in your settings.
    Feedback is very much welcome. Thank you!

  15. roblourens commented on Feb 23, 2022

    @roblourens
    Member

    I also like audioCues.onDebugBreak, although it's not a big deal if you don't want to change the setting at this point.

    A similar phrase is used in these settings

    image

  16. isidorn commented on Feb 24, 2022

    @isidorn

    Henning Dieterichs (@hediet) I think it is not too late to change. What do you think? Can we change to audioCues.onDebugBreak?

  17. hediet commented on Feb 24, 2022

    @hediet
    Member

    Fixed in 643cf95e.

    Oh, the typo is just in the commit message

  18. locked and limited conversation to collaborators on Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debugfeature-requestverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions