Closed Bug 1485939 Opened Last year Closed Last year

error occurred while processing 'evaluateJSAsync

Categories

(DevTools :: Console, defect)

defect
Not set

Tracking

(firefox63 fixed)

RESOLVED FIXED
Firefox 63
Tracking Status
firefox63 --- fixed

People

(Reporter: Honza, Assigned: yulia)

Details

Attachments

(1 file)

This is a clone of:
https://github.com/devtools-html/debugger.html/issues/6872

Sentry is reporting this error quite often:

Here is an example event:
https://sentry.prod.mozaws.net/operations/nightly-js-errors/issues/4596315/

I was able to see the error on my machine too. My callstack:

error occurred while processing 'evaluateJSAsync: Error: Debugger.Frame is not live
Stack: bindCommands@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/webconsole/eval-with-debugger.js:364:13
exports.evalWithDebugger@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/webconsole/eval-with-debugger.js:91:37
evaluateJS@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/webconsole.js:1017:22
evaluateJSAsync@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/webconsole.js:955:22
onPacket@resource://devtools/shared/base-loader.js -> resource://devtools/server/main.js:1706:15
receiveMessage@resource://devtools/shared/base-loader.js -> resource://devtools/shared/transport/child-transport.js:66:5
MessageListener.receiveMessage*_addListener@resource://devtools/shared/base-loader.js -> resource://devtools/shared/transport/child-transport.js:40:5
ready@resource://devtools/shared/base-

And another better/longer callstack here:
https://pastebin.com/L9mEYGTU

Might be related to bug 1483166

Honza
@Yulia: I just created the report for the bug I found/mentioned yesterday.

Honza
Flags: needinfo?(ystartsev)
Summary: error occurred while processing 'evaluateJSAsync #6872 → error occurred while processing 'evaluateJSAsync
Assignee: nobody → ystartsev
Flags: needinfo?(ystartsev)
use Eager loading for evalWithDebugger
I wasn't able to reproduce locally so this patch is a bit of a guess. I will keep an eye on sentry in the coming days to see if it resolves. If you do come across an str, let me know and I will try to confirm if this patch fixes it.
 

Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c81cf232a24f618e96f6c6c40fdc2b94e5e8fda1
Comment on attachment 9003805 [details]
Bug 1485939 - use eager loading for evalWithDebugger; r=nchevobbe

Nicolas Chevobbe [:nchevobbe] has approved the revision.
Attachment #9003805 - Flags: review+
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/64bfc8065bfd
use eager loading for evalWithDebugger; r=nchevobbe
https://hg.mozilla.org/mozilla-central/rev/64bfc8065bfd
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in before you can comment on or make changes to this bug.