Watchpoints - Property SET/GET not works as expected after close Dev Tools
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(firefox72 verified, firefox73 verified)
People
(Reporter: marcela.calderon, Assigned: jlast)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
3.07 MB,
video/mp4
|
Details | |
2.71 MB,
video/mp4
|
Details | |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
After Dev Tools is closed, watchpoints property set/get does not work as expected.
Affected versions
Firefox versions Nightly 72.0a1
Affected platforms
Windows 10
Steps to reproduce
- Launch the Firefox Browser and open http://janodvarko.cz/tests/debugger/watchpoints/
- Open Developer Tools and click on "Click Me!" button in Test Case #!
- On Scopes Side Panel looks for object Person.age and add watchpoint property set
- Close Dev Tools and reopen again
- Click on "Click Me!" button in Test Case #! and looks for watchpoint
Actual Result
Person.age value displays a symbol >> with Tooltip (Invoke getter) instead of the original value (number)
Note
For property Get, if you click on ">>", value "Restricted" is displayed.
For property Set, if you click on ">>", value 36 is displayed
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Thanks for the report Marcela!
Yes, I can reproduce the problem as well:
Here are my extended STRs:
- Launch the Firefox Browser and open http://janodvarko.cz/tests/debugger/watchpoints/
- Open Developer Tools and click on "Click Me!" button in Test Case #!
- On Scopes Side Panel looks for object Person.age and add watchpoint property set
- Resume the execution and see that the watchpoint properly hits on line 12
- Close Dev Tools and reopen again
- Click on "Click Me!" button in Test Case #! and looks for watchpoint
- On Scopes Side Panel looks for object
Person.age
. It doesn't show the value, but an icon>>
to manualy invoke the getter. The set watchpoint can be created at this point, but it won't work => BUG - Try to invoke the getter by clicking on
>>
- Add watchpoint property set
- Resume execution, the watchpoint doesn't work => BUG
Honza
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
Reporter | ||
Comment 6•5 years ago
|
||
Verified fixed on lates Nightly Version 73.0a1 Build ID 20191208213628 on Windows 10, macOS 10.14 and Ubuntu 18.04
Assignee | ||
Comment 7•5 years ago
|
||
Comment on attachment 9113916 [details]
Bug 1599215 - Watchpoints do not work as expected after close Dev Tools. r=jaril
Beta/Release Uplift Approval Request
- User impact if declined: Watchpoints (new debugger feature) will stop working if the user closes devtools while paused because of a watchpoint.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This only affects the debugger.
- String changes made/needed:
Comment 8•5 years ago
|
||
(In reply to Jason Laster [:jlast] from comment #7)
- Why is the change risky/not risky? (and alternatives if risky): This only affects the debugger.
FWIW this is as much an argument against taking a patch than for it. It'd help to be more specific.
Comment 9•5 years ago
|
||
(In reply to Jason Laster [:jlast] from comment #7)
- Is this code covered by automated tests?: Yes
The tests didn't catch this bug though, and the fix doesn't touch tests. I don't suppose that could be addressed?
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Comment on attachment 9113916 [details]
Bug 1599215 - Watchpoints do not work as expected after close Dev Tools. r=jaril
debugger fix, approved for 72.0b5
Comment 11•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Reporter | ||
Comment 12•5 years ago
|
||
Verified fixed on Beta Version 72.0b5 Build ID 20191210230245 on Windows 10, macOS 10.14 and Ubuntu 18.04
Reporter | ||
Updated•5 years ago
|
Description
•