Open
Bug 1362432
Opened 7 years ago
Updated 2 years ago
repeated function parameter is shown with wrong value in Scopes
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: account-mozilla-bugzilla, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170418123106 Steps to reproduce: 1. Open attached example.html in Firefox 53.0 or Firefox Developer Edition 54.0a2 (both affected, new and old debugger!). 2. Open Developer Tools, go to Debugger. 3. Set breakpoint in line 10 (first line in function). 4. Reload to hit breakpoint. 5. Look at Scopes/Variables in debugger. 6. Click "resume". Actual results: - At step 5: Scopes/Variables window shows repeatedParameter with value "first" (wrong) - After resume: Console shows output of "second" (correct) Expected results: - Debugger Scopes/Variables view should be consistent with runtime behavior: Show repeatedParameter with value "second"
Reporter | ||
Updated•7 years ago
|
Component: Untriaged → Developer Tools: Debugger
Version: 53 Branch → 54 Branch
Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Thanks for the report Daniel. I'll investigate soon
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Blocks: dbg-scopes
Updated•5 years ago
|
Whiteboard: [debugger-mvp]
Updated•5 years ago
|
Whiteboard: [debugger-mvp]
Comment 4•5 years ago
•
|
||
This appears to be a SpiderMonkey bug, rather than an issue with us stopping at the wrong bytecode, which I originally expected. It looks like Debugger.Object's eval
and Debugger.Environment's getVariable
both get the value of the first parameter rather than the second.
Flags: needinfo?(odvarko)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•