Open
Bug 1575869
Opened 5 years ago
Updated 2 years ago
Adding an expression in the watch panel makes the Expressions panel render 5 times
Categories
(DevTools :: Debugger, task, P3)
DevTools
Debugger
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [debugger-reserver])
Steps to reproduce
- Open the debugger
- Open the browser toolbox debugger, and put a logpoint in the Expression component
render
function (like"render", this.props
) - In the regular debugger, add a watch expression (e.g.
1
)
Expected results
The logpoint produces one or two render messages
Actual results
The logpoint is hit 5 times after I hit the Enter key.
Looks like we're dispatching a bunch of actions that each trigger renders? And shouldComponentUpdate
may not be as efficient as we think.
Updated•5 years ago
|
Priority: -- → P3
Comment 1•5 years ago
|
||
Maybe also related to bug 1569829 and other flickering issues; that Debugger thrashes UI with unnecessary state changes and renderings?
Blocks: dbg-perf
Updated•5 years ago
|
Whiteboard: [debugger-mvp]
Comment 2•5 years ago
|
||
I was not able to reproduce 5 renders
I saw two for new Expressions and 3 for updates
Updated•5 years ago
|
Whiteboard: [debugger-mvp] → [debugger-reserver]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•