Closed Bug 1446684 Opened 7 years ago Closed 7 years ago

Watched variables appear as "unavailable" when stopped at a breakpoint

Categories

(DevTools :: Debugger, defect)

61 Branch
defect
Not set
normal

Tracking

(firefox60 fix-optional, firefox61 fix-optional)

RESOLVED FIXED
Tracking Status
firefox60 --- fix-optional
firefox61 --- fix-optional

People

(Reporter: lami4ka, Unassigned)

Details

Attachments

(1 file)

Attached image unavailable_bug2.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180313225158 Steps to reproduce: 1) Set a breakpoint on a given page (in TypeScript compiled js) 2) Add some watched local variables 3) Hit the breakpoint 4) Change the script on the server side 5) Re-freshed the page, hit the same breakpoint (the line number of the breakpoint hadn't changed because changes were in another file) Actual results: In the Watch Expressions panel, my variables appear as "unavailable" (see screenshot). However, I can see that the debugger has access to their values, as they appear in the Scopes panel. Expected results: I expect that if I can see the values in the Scopes panel I should be able to see them in the Watch Expressions panel as well. The Watch Expressions panel is way more convenient compared to digging through scopes. I am attaching screenshots of the bug. Whenever I tried to add anther watched expression in the "Watch Expressions" panel, while in the error state, the following errors showed in the browser console: Invalid chrome URI: / [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: resource://gre/modules/LoginManagerContent.jsm :: messageManagerFromWindow :: line 158" data: no] (unknown) messageManagerFromWindow resource://gre/modules/LoginManagerContent.jsm:158:10 _onFormSubmit resource://gre/modules/LoginManagerContent.jsm:939:26 notify resource://gre/modules/LoginManagerContent.jsm:63:7 Invalid chrome URI: / [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: resource://gre/modules/LoginManagerContent.jsm :: messageManagerFromWindow :: line 158" data: no] (unknown) messageManagerFromWindow resource://gre/modules/LoginManagerContent.jsm:158:10 _onFormSubmit resource://gre/modules/LoginManagerContent.jsm:939:26 notify resource://gre/modules/LoginManagerContent.jsm:63:7
Also please note that I am not sure the "change script on the server side" step is neccessary to hit this. I can try and reproduce further.
Component: Untriaged → Developer Tools: Debugger
Hi dbounov, i believe these are fixed in nightly. Could you re-try?
I have not observed this in nightly in several weeks. Thank you!
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: