Open Bug 1452196 Opened 7 years ago Updated 2 years ago

Debugger broken with wasm, lots of errors in browser console

Categories

(DevTools :: Debugger, defect, P5)

defect

Tracking

(firefox60 fix-optional, firefox61 fix-optional)

Tracking Status
firefox60 --- fix-optional
firefox61 --- fix-optional

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

``` Handler function threw an exception: TypeError: this.transport is null Stack: send@resource://devtools/shared/base-loader.js -> resource://devtools/server/main.js:1487:5 addSecurityInfo@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/webconsole.js:2332:5 NetworkResponseListener.prototype._getSecurityInfo<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/webconsole/network-monitor.js:519:5 exports.makeInfallible/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14 onStartRequest@resource://devtools/shared/base-loader.js -> resource://devtools/shared/webconsole/network-monitor.js:439:5 Line: 1487, column: 5 ThreadSafeDevToolsUtils.js:88:5 TypeError: this.transport is null[Learn More] main.js:1487:5 Please file an issue: reasonType= interrupted debugger.js:34948:5 DebuggeeWouldRun: debuggee `http://localhost:8080/bootstrap.js line 345 > eval:2969' would run event-loop.js:118:5 TypeError: source is undefined[Learn More] debugger.js:9232:11 TypeError: this._tabPool is null tab.js:1406:5 ``` and ``` Handler function threw an exception: TypeError: this.transport is null Stack: send@resource://devtools/shared/base-loader.js -> resource://devtools/server/main.js:1487:5 addSecurityInfo@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/webconsole.js:2332:5 NetworkResponseListener.prototype._getSecurityInfo<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/webconsole/network-monitor.js:519:5 exports.makeInfallible/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14 onStartRequest@resource://devtools/shared/base-loader.js -> resource://devtools/shared/webconsole/network-monitor.js:439:5 Line: 1487, column: 5 ``` and ``` onPacket threw an exception: Error: Server did not specify an actor, dropping packet: {"error":"wrongOrder","message":"trying to resume in the wrong order.","lastPausedUrl":"http://localhost:8080/"} Stack: onPacket@resource://devtools/shared/base-loader.js -> resource://devtools/shared/client/debugger-client.js:856:9 send/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/transport/transport.js:569:13 exports.makeInfallible/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14 exports.makeInfallible/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14 Line: 856, column: 9 ``` packaging up test case, one second...
STR: * extract zip to ./wasm_game_of_life * cd ./wasm_game_of_life * npm install * npm run serve * navigate to localhost:8080 with devtools open ER: Debugger pauses at `debugger` statement in index.js's renderLoop function AR: page appears paused, but debugger UI does not reflect that, errors in browser console (see above)
This started working after I restarted the browser, but not consistently.
Product: Firefox → DevTools
Blocks: dbg-wasm
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: