Open Bug 1555840 Opened 5 years ago Updated 2 years ago

Noisy updates for Scopes & Call Stack make stack navigation & stepping feel janky

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: Harald, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [debugger-mvp])

Attachments

(1 file, 1 obsolete file)

Follow up from https://github.com/firefox-devtools/debugger/issues/7191 .

What were you doing?

  1. When paused, step or navigate the call stack

What happened?

Scopes and Call Stack panel update in noisy fashion.

What should have happened?

Smooth updates that don't throw away UI for state that doesn't change much.

Anything else we should know?

Profile for a click on the same stack: http://bit.ly/30QXAbL

Observations

  1. This shouldn't even update the Scopes panel but helps me profile the noisy update pattern
  2. The state is updated first that resets the panel content to "Loading …".
  3. Within 50ms, the panel has the same content again
  4. A bad side effect the full panel reset is that the sidepanel scroll position is reset when the user scrolled down.

Brainstorming: Never reset the state to "loading" for any panel when it has content and just drop in the new the updated content when it is ready. Same for call stack and stepping

Priority: -- → P3
Blocks: dbg-70
Whiteboard: [debugger-reserve]
No longer blocks: dbg-70
Whiteboard: [debugger-reserve]
Blocks: dbg-71
Whiteboard: [debugger-mvp]
Attachment #9098332 - Attachment is obsolete: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: