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

Sometimes freezes Firefox when in about:addons

Open
#86 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Description

I am testing it out with Firefox Developer Editition for debugging my add-on.

So when I am in `about:add-ons` it often freezes Firefox. Also, it ignores my breajkpoint.

STR:
1. Debug add-on.
2. Set breakpoint somewhere in code that is to be called in the settings.
3. Go to settings page of add-on.
-> First issue: Breakpoint does not trigger, but is just ignored.
4. Press F5 in the browser to reload the options page OR click on "extensions" on the left to get to the overview.
-> Freezes.

Firefox log:
```
JavaScript warning: resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/inspector/walker.js, line 1612: DebuggeeWouldRun: debuggee `self-hosted:582' would run
JavaScript warning: resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/inspector/walker.js, line 1612: DebuggeeWouldRun: debuggee `self-hosted:582' would run
JavaScript warning: resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/utils/event-loop.js, line 118: DebuggeeWouldRun: debuggee `chrome://global/content/bindings/general.xml:15' would run
```

Firefox 62

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the documented steps in Firefox Developer Edition 62: debug an add-on, set a breakpoint in the settings code, open its settings page, then reload or return to the extensions overview. Use the provided Firefox warnings to investigate why the breakpoint is ignored and why the browser freezes; done means the breakpoint triggers and these navigation actions no longer freeze Firefox.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.