Closed Bug 1601476 Opened 1 year ago Closed 1 year ago

Value with watchpoint in object inspector does not update when stepping

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(firefox73 fixed)

RESOLVED FIXED
Firefox 73
Tracking Status
firefox73 --- fixed

People

(Reporter: jarilvalenciano, Assigned: bmiriam1230)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36

Steps to reproduce:

  1. Open http://janodvarko.cz/tests/debugger/watchpoints/
  2. Follow test case #1, and click the "Click Me!" button in step #2
  3. Set a watchpoint (set) on the age property of the person object,
  4. Click Step Over 2x to land on line 12, note that age is 36
  5. Clip Step Over 1x to land on line 14, note that age is still 36

Actual results:

The age value did not change between line 12 and 14 and remained 36.

Expected results:

The age property value should have changed to 45.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Inspector
Product: Firefox → DevTools
Component: Inspector → Debugger
Assignee: nobody → bmiriam1230
Pushed by jlaster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8b6d1b8364bd
Update value with watchpoint when stepping or hitting breakpoint. r=jlast.
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 73
You need to log in before you can comment on or make changes to this bug.