Default expanded view should include all scopes up to the function's parameters
Categories
(DevTools :: Debugger, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: Honza, Unassigned)
Details
Attachments
(1 file)
7.61 KB,
image/png
|
Details |
Originally reported here: https://github.com/firefox-devtools/debugger/issues/5754
STR:
- Break into a function that has parameters
The default expanded view only has the current block. It would be very useful to have all scopes expanded up to the current function's arguments.
Especially even when breaking at the first line of a function, at the outermost block of the function, the argument's scope isn't expanded.
As a bonus: it may be a good idea to open more enclosing scopes when we detect the function is small, but I understand this can be more work, and I'd already be very satisfied with the first part of the issue.
Honza
Reporter | ||
Comment 1•4 years ago
|
||
Test case: http://janodvarko.cz/tests/bugzilla/1661696/
- Break on line 17 on console.log(i)
- Function arguments should be visible by default
Honza
Reporter | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
:Honza, if you think that's a regression, then could you try to find a regression range in using for example mozregression?
Description
•