Closed Bug 1262654 Opened 8 years ago Closed 5 years ago

(debug remote protocol) 'environment' references may not exist on second break;

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox48 affected)

RESOLVED FIXED
Tracking Status
firefox48 --- affected

People

(Reporter: yury, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file test.html
STR:
1. Open test.html and debugger
2. Wait <4sec to break
3. Inspect the "Variables" section, "Global scope"
4. Press "Resume"
5. Wait <4sec to break
6. Inspect the "Variables" section, "Global scope"

Notice that content of step 3 is not present on step 6.

I found if I request environments (https://wiki.mozilla.org/Remote_Debugging_Protocol#Lexical_Environments), it returns outdated references for non-top environments, e.g. "server2.conn0.child1/117", "server2.conn0.child1/35","server2.conn0.child1/36". And when I'm trying to use last two (e.g. "server2.conn0.child1/35") it fails with

 {"from":"server2.conn0.child1/35","error":"noSuchActor","message":"No such actor for ID: server2.conn0.child1/35"}
Component: Developer Tools → Developer Tools: Debugger
This may be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1249962, 
which is another scenario where the debugger responds with noSuchActor messages
Priority: -- → P2
I just re-tested this with Firefox 58.0.1 (64-bit, on Arch Linux) and found that the bug is gone (just like #1249962)!
Product: Firefox → DevTools

Yury, could you re-test this and see if you can reproduce it?

Blocks: dbg-r2c
Flags: needinfo?(ydelendik)

closing. Feel free to re-open if it still exists.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Flags: needinfo?(ydelendik)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: