Closed
Bug 1352089
Opened 7 years ago
Closed 5 years ago
Error occurred while processing 'resume: TypeError: can't access dead object
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tom.mai78101, Unassigned)
Details
Attachments
(1 file)
4.52 KB,
application/x-zip-compressed
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce: I'm using Firefox Developers Edition, on the Aurora update branch, version 54.0a2 (2017-03-30) (64-bit). It is the latest version thus far, according to the About dialog box. http://i.imgur.com/fXDryAw.png The new Debugger UI is enabled by default: http://i.imgur.com/oOHpWYp.png 1. Open the following attachment and place it somewhere where you're able to load the extension into the browser. 2. Debug the extension. The DevTool window should pop-up. 3. In the DevTool, click on the Debugger tab. 4. Double-click on the popup.js to bring up the code. 5. Set a breakpoint on Line 3. 6. In the browser, open the add-on, and click on the "Test Submit" button. 7. The DevTool should pause at the breakpoint. Either press F10 or the "Step Over" icon to let it run one line of code. 8. The whole DevTool window and the browser will completely be unresponsive until you close the DevTool window. GIF for reproduction steps: http://i.imgur.com/Eac24SI.gif Actual results: Error stack trace is shown in the Console tab: error occurred while processing 'resume: TypeError: can't access dead object Stack: createNonSourceMappedActor@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/utils/TabSources.js:298:1 getFrameLocation@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/utils/TabSources.js:578:7 _handleResumeLimit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:903:31 onResume@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:1007:28 onPacket@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/main.js:1769:15 _onJSONObjectReady/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/transport/transport.js:483:11 exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 enter@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:350:5 _pushThreadPause@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:533:5 _pauseAndRespond@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:741:7 hit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/breakpoint.js:175:12 @moz-extension://efb7b1b2-2991-4a92-9d3b-02d90f272635/popup.js:3:3 EventListener.handleEvent*@moz-extension://efb7b1b2-2991-4a92-9d3b-02d90f272635/popup.js:1:1 Line: 298, column: 1 Expected results: Code should run normally. No unresponsiveness should occur.
Updated•7 years ago
|
Component: Untriaged → Developer Tools: Debugger
Reporter | ||
Comment 1•7 years ago
|
||
Line 101 in test.js has a console.log() set with a breakpoint. Just doing a step into, step over, or step out will cause the following call stack trace (after expanding the error message in the Console tab): _unknownError resource://devtools/server/main.js:1632:5 onPacket resource://devtools/server/main.js:1771:29 _onJSONObjectReady/< resource://devtools/shared/transport/transport.js:483:11 exports.makeInfallible/< resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 exports.makeInfallible/< resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 enter resource://devtools/server/actors/script.js:350:5 bound enter self-hosted:911:17 _pushThreadPause resource://devtools/server/actors/script.js:533:5 _pauseAndRespond resource://devtools/server/actors/script.js:741:7 hit resource://devtools/server/actors/breakpoint.js:175:12 <anonymous> moz-extension://23cf7ede-9c8b-4bd7-b0b1-c0505abcd4de/content_scripts/test.js:101:1 This test.js is more of me adding the following code: https://hastebin.com/pilefuvusi.js
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 2•5 years ago
|
||
closing as i believe this has been fixed
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•