Closed Bug 995465 Opened 11 years ago Closed 11 years ago

devtools.require sometimes fails to load on Fennec

Categories

(DevTools :: Framework, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jryans, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

If you connect to Fennec via remote debugging and choose "Main Process", you get the following error (this is from adb logcat, but it also appears in the console itself): E/GeckoConsole(24721): [JavaScript Error: "error occurred while processing 'startListeners: Module `devtools/toolkit/webconsole/network-monitor` is not found at resource://gre/modules/devtools/toolkit/webconsole/network-monitor.js E/GeckoConsole(24721): Stack: @resource://gre/modules/devtools/server/actors/webconsole.js:20:3 E/GeckoConsole(24721): XPCU_defineLazyGetter/<.get@resource://gre/modules/XPCOMUtils.jsm:177:9 E/GeckoConsole(24721): WCA_onStartListeners@resource://gre/modules/devtools/server/actors/webconsole.js:542:15 E/GeckoConsole(24721): DSC_onPacket@resource://gre/modules/devtools/server/main.js:1155:9 E/GeckoConsole(24721): DT__processIncoming/<@resource://gre/modules/devtools/server/transport.js:201:9 E/GeckoConsole(24721): makeInfallible/<@resource://gre/modules/devtools/DevToolsUtils.js:82:7 E/GeckoConsole(24721): Line: 20, column: 0" {file: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/main.js" line: 1056}]
Also, try to avoid the "Debugger" tab for the moment, since that will crash Fennec (see bug 982675).
Sounds like a bug with the devtools loader setup. require() fails on fennec.
(In reply to Mihai Sucan [:msucan] from comment #2) > Sounds like a bug with the devtools loader setup. require() fails on fennec. You're right, I've seen a similar error for the Style Editor too. I just tried to find a regression window, but all the builds were good... I must not have the right STR yet. :/
Component: Developer Tools: Console → Developer Tools: Framework
Keywords: regression
Summary: network-monitor.js fails to load on Fennec → devtools.require sometimes fails to load on Fennec
Huh, can't figure out how to reproduce anymore. Mihai, it seems you also saw this according to comment 2? Were you using an official nightly or a local build of Fennec? Perhaps it's been resolved as well...
(In reply to J. Ryan Stinnett [:jryans] from comment #4) > Huh, can't figure out how to reproduce anymore. Mihai, it seems you also > saw this according to comment 2? Were you using an official nightly or a > local build of Fennec? That comment was only based on the error you pasted. I didnt test.
Well, I can't seem to make this happen anymore. Will reopen if I see it again.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.