Debugger's Watch Expression variable view "collapses" everytime a Step is executed
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: zakcaree, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
I'm watching a few variables (e.g, an object literal, array, and an array with multiple objects push into) for state/value changes from my recursive function.
Problem is its hard to watch the state changes for these variables, because I have to expand them everytime I step into/over/etc on a function.
The view of the watch expression variables aren't persistent. I shouldn't have to expand the variable view for every step, the view state should persist throughout the all the relative call stack.
Actual results:
- Added these imaginary variables on Watch Expression
objectLiteral
anArray
arrayWithMultipleObjectsPushedInto
- Expanded all variable to see their state, values, and properties
- Step through the function
--> variable view will automatically collapse for every step so you need to expand it every single time you step into anything.
Its quite frustrating when you just want to continuously watch a variable and not be bothered on expanding manually for every step.
Expected results:
Variable view on Watch Expression should be persistent for each Step.
Variables data types like Objects or Arrays expanded view should be persistent and not collapse for each Step.
Moving to DevTools: Debugger component.
Comment 2•5 years ago
|
||
Thanks for the report!
There is related github issue here:
https://github.com/firefox-devtools/debugger/issues/7696
Honza
Comment 3•5 years ago
|
||
Closing as a dupe of bug 1405402.
Description
•