firefox-devtools / firefox-devtools/vscode-firefox-debug
Stuck on RootActorProxy: Received 0 tabs - will retry in 100ms
- Lingua principale
- TypeScript
- Stelle
- 447
- Fork
- 76
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi!
I've switched to Macos, and in setting up my workflow again I'm running into some quirks with the Firefox debugger. It all works the _first_ time like it's intended to. But as soon as I close the debug window, I notice that on Linux the debugger would automatically quit as well. But now that's not the case. When I manually stop and start the debugger, no new Firefox window gets started, and in the logging I see this message repeated:
```
DEBUG|003.312|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.313|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.313|RootActorProxy: Received 0 tabs - will retry in 100ms
```
Larger log file
```
DEBUG|000.033|BreakpointsManager: Setting 2 breakpoints for /Users/smth.js
DEBUG|000.033|BreakpointsManager: Setting 1 breakpoints for /Users/smth.js
DEBUG|000.033|BreakpointsManager: Setting 1 breakpoints for /Users/smth.js
DEBUG|000.033|BreakpointsManager: Setting 1 breakpoints for /Users/smth.js
DEBUG|000.034|BreakpointsManager: Setting 1 breakpoints for /Users/smth.js
DEBUG|000.035|DebugConnection: Received response/event {"from":"root","applicationType":"browser","testConnectionPrefix":"server1.conn3.","traits":{"networkMonitor":true,"resources":{"extensions-backgroundscript-status":true},"supportsClearResources":true,"workerConsoleApiMessagesDispatchedToMainThread":true}}
DEBUG|000.035|RootActorProxy: Fetching root
DEBUG|000.035|DebugConnection: Sending request {"to":"root","type":"getRoot"}
DEBUG|000.037|DebugConnection: Received response/event {"preferenceActor":"server1.conn3.preferenceActor1","addonsActor":"server1.conn3.addonsActor2","deviceActor":"server1.conn3.deviceActor3","heapSnapshotFileActor":"server1.conn3.heapSnapshotFileActor4","perfActor":"server1.conn3.perfActor5","parentAccessibilityActor":"server1.conn3.parentAccessibilityActor6","screenshotActor":"server1.conn3.screenshotActor7","from":"root"}
DEBUG|000.037|RootActorProxy: Received root response
DEBUG|000.037|RootActorProxy: Fetching tabs
DEBUG|000.037|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.038|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.038|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|000.076|DataBreakpointsManager: Setting 0 data breakpoints
DEBUG|000.082|FirefoxDebugAdapter: Setting exception filters: []
DEBUG|000.085|FirefoxDebugAdapter: 0 threads
DEBUG|000.139|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.141|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.141|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|000.242|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.243|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.243|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|000.345|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.346|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.346|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|000.447|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.449|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.449|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|000.551|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.553|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.553|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|000.654|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.656|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.656|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|000.757|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.758|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.758|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|000.860|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.862|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.862|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|000.963|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|000.965|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |000.965|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.066|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.068|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.068|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.169|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.170|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.170|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.272|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.273|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.273|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.374|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.375|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.375|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.476|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.477|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.477|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.578|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.580|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.580|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.681|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.682|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.682|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.783|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.784|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.784|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.885|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.887|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.887|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|001.987|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|001.988|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |001.988|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|002.088|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|002.089|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |002.089|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|002.190|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|002.191|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |002.191|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|002.291|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|002.292|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |002.292|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|002.393|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|002.395|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |002.395|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|002.494|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|002.495|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |002.495|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|002.596|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|002.597|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |002.597|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|002.698|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|002.699|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |002.699|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|002.800|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|002.801|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |002.801|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|002.902|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|002.903|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |002.903|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.004|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.005|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.005|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.107|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.109|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.109|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.209|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.210|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.210|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.312|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.313|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.313|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.414|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.416|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.416|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.517|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.518|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.518|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.619|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.620|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.620|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.721|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.723|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.723|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.824|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.825|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.825|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|003.926|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|003.928|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |003.928|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.029|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.030|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.030|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.131|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.133|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.133|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.233|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.234|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.234|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.335|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.336|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.336|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.437|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.437|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.437|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.538|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.539|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.539|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.640|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.641|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.641|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.742|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.743|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.743|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.844|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.846|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.846|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|004.947|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|004.948|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |004.948|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.049|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.051|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.051|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.152|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.153|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.153|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.254|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.256|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.256|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.357|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.358|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.358|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.459|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.460|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.460|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.561|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.563|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.563|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.664|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.666|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.666|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.766|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.767|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.767|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.869|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.869|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.869|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|005.971|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|005.971|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |005.972|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|006.072|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|006.073|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |006.073|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|006.174|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|006.175|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |006.175|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|006.276|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|006.277|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |006.277|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|006.378|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|006.379|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |006.379|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|006.480|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|006.482|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |006.482|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|006.583|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|006.584|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |006.584|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|006.685|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|006.686|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |006.686|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|006.787|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|006.789|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |006.789|RootActorProxy: Received 0 tabs - will retry in 100ms
DEBUG|006.890|DebugConnection: Sending request {"to":"root","type":"listTabs"}
DEBUG|006.892|DebugConnection: Received response/event {"tabs":[],"from":"root"}
INFO |006.892|RootActorProxy: Received 0 tabs - will retry in 100ms
INFO |006.941|FirefoxDebugSession: Connection to Firefox closed - terminating debug session
DEBUG|006.993|DebugConnection: Sending request {"to":"root","type":"listTabs"}
```
Part of my launch.json
```
{
"name": "Launch new Debug Firefox",
"type": "firefox",
"request": "launch",
"reAttach": true,
"url": "https:///",
"webRoot": "${workspaceFolder:pwa}",
"profile": "default-debug",
"keepProfileChanges": true,
"pathMappings": [
{
"url": "webpack:////Users/",
"path": "/home/"
},
{
"url": "webpack:///",
"path": "${workspaceFolder:pwa}"
}
],
"log": {
"fileName": "${workspaceFolder:pwa}/ffdebug.log",
"fileLevel": {
"default": "Debug"
}
}
},
```
So far the only workaround I've found is rebooting the mac, which is a bit of a nuisance :)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dal percorso di retry RootActorProxy listTabs mostrato nei log, quindi riproduci il problema dopo aver chiuso e riavviato la finestra di debug di Firefox su macOS. Confronta il comportamento con Linux e traccia le richieste DebugConnection finché il debugger non esce oppure non avvia una nuova finestra di Firefox invece di rimanere in loop con zero schede.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript, vscode
- Ambito
- developer-experience, devtools
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100