Closed Bug 1440472 Opened 6 years ago Closed 6 years ago

Debugger.Frame is not live error from evalWithDebugger

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1448431

People

(Reporter: gregtatum, Unassigned)

Details

Attachments

(1 file)

I've run into this bug two days in a row, and it seems like some kind of async problem that is hard to provide an STR for. However, I figured I would file it in case I can find a clear one, I didn't see a clear existing bug.

Intermittent STR:
* Load perf.html in debug mode
* Put in a debugger statement in a function in the source code
* Catch on the breakpoint
* Reload the page
* Start interacting with the devtools and eventually evaluate something in the webconsole
* The devtools break with the error

evaluateJS: Error: Debugger.Frame is not live

Stack:
  evalWithDebugger@resource://devtools/server/actors/webconsole.js:1397:11
  onEvaluateJS@resource://devtools/server/actors/webconsole.js:949:20
  onPacket@resource://devtools/server/main.js:1767:15
  receiveMessage@resource://devtools/shared/transport/transport.js:760:7
Ok, this reproduces every time for me on Firefox Nightly 60 on Macintosh with:

STR:
 * Open up attachment debugger-frame-bug.html in Nightly
 * Open up the DevTools' Debugger
 * Refresh and catch on the breakpoint.
 * Comment out the "debugger" statement from the code in an editor.
 * Refresh the page in Nightly.

Results:

evaluateJS: Error: Debugger.Frame is not live

Stack:
  evalWithDebugger@resource://devtools/server/actors/webconsole.js:1397:11
  onEvaluateJS@resource://devtools/server/actors/webconsole.js:949:20
  onPacket@resource://devtools/server/main.js:1767:15
  receiveMessage@resource://devtools/shared/transport/transport.js:760:7
I'm only reproducing this in Firefox 60, not Firefox 59 or 58.
Here is a slightly updated STR, it turns out this requires watch expressions. I reproduce this in Firefox 58-60.

STR:
 * Open up attachment debugger-frame-bug.html in Nightly
 * Open up the DevTools' Debugger
 * Add the watch expression "asdf" (any expression really)
 * Refresh and catch on the breakpoint.
 * Comment out the "debugger" statement from the code in an editor.
 * Refresh the page in Nightly.

Results:

evaluateJS: Error: Debugger.Frame is not live

Stack:
  evalWithDebugger@resource://devtools/server/actors/webconsole.js:1397:11
  onEvaluateJS@resource://devtools/server/actors/webconsole.js:949:20
  onPacket@resource://devtools/server/main.js:1767:15
  receiveMessage@resource://devtools/shared/transport/transport.js:760:7
Couldn't reproduce the bug with STR from Comment 4. I guess this was fixed by Bug 1448431. Correct me if I'm wrong Jason
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: