Closed Bug 1530957 Opened 5 years ago Closed 5 years ago

Debugger's Watch Expression variable view "collapses" everytime a Step is executed

Categories

(DevTools :: Debugger, defect, P3)

66 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1405402

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:

  1. Added these imaginary variables on Watch Expression

objectLiteral
anArray
arrayWithMultipleObjectsPushedInto

  1. Expanded all variable to see their state, values, and properties
  2. 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.

Summary: Watch Expression variable view "collapses" everytime a Step is executed → Debugger's Watch Expression variable view "collapses" everytime a Step is executed

Moving to DevTools: Debugger component.

Component: Untriaged → Debugger
Product: Firefox → DevTools

Thanks for the report!

There is related github issue here:
https://github.com/firefox-devtools/debugger/issues/7696

Honza

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3

Closing as a dupe of bug 1405402.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.