firefox-devtools / firefox-devtools/vscode-firefox-debug

Debugging breaks sound output

Open
#217 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Description

## Description

When debugging an application with the Firefox debugger, the sound output of my pc gets weird as soon as I hit a breakpoint and hover over a variable in VSCode (to view its value).

What happens to the sound:
- it's distorted
- random noise
- there's an echo ~1s later

This problem appears since I've upgraded to VSCode 1.47.0 (though I don't use it often while playing music, so the problem could have started sooner).

### Environment

- VSCode Version: 1.47.0
- OS Version: Fedora 31

## Steps to Reproduce

1. turn on some music
2. Add breakpoint
3. Run app and debugger
4. trigger breakpoint
5. go into vs code and hover over a variable / parameter to see the value popup
6. notice that the music just got buggy

## Additional information

I've noticed that the following new devices appear in the sound settings
![image](https://user-images.githubusercontent.com/10603631/87294451-1e78dd80-c504-11ea-9b63-dbc34db055f2.png)

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. First reproduce the problem with VS Code 1.47.0, Fedora 31, the Firefox debugger, a breakpoint, and a variable hover while audio is playing; then trace which debugger interaction coincides with the new sound devices. Done means debugging and variable inspection no longer distort, delay, or echo system audio.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.