Closed Bug 1006489 Opened 11 years ago Closed 11 years ago

Scopes in the debugger don't always reexpand after stepping

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 32

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(1 file)

So, 'window' and 'this' are never re-expanded, because performance. However, I found a few really weird cases in which the nodes get re-expanded only after hovering them! STR: 1. Go to http://todomvc.com/architecture-examples/backbone/ and open debugger 2. Add breakpoint on line 31 of app-view.js 3. Reload and wait for breakpoint to be hit 4. Expand the middle function scope 5. Step in The function scope should've been re-expanded. It's not. If you hover it, it gets re-expanded. Weird.
Attached patch v1Splinter Review
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #8418036 - Flags: review?(rcampbell)
Depends on: 1002456
Comment on attachment 8418036 [details] [diff] [review] v1 Review of attachment 8418036 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/debugger/test/browser_dbg_variables-view-reexpand-03.js @@ +11,5 @@ > +let gBreakpoints, gSources, gVariables; > + > +function test() { > + // Debug test slaves are a bit slow at this test. > + requestLongerTimeout(4); an inauspicious beginning... @@ +35,5 @@ > + .then(testVariablesExpand) > + .then(() => resumeDebuggerThenCloseAndFinish(gPanel)) > + .then(null, aError => { > + ok(false, "Got an error: " + aError.message + "\n" + aError.stack); > + }); such .then().
Attachment #8418036 - Flags: review?(rcampbell) → review+
(In reply to Rob Campbell [:rc] (:robcee) from comment #2) > Comment on attachment 8418036 [details] [diff] [review] > v1 > > Review of attachment 8418036 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/devtools/debugger/test/browser_dbg_variables-view-reexpand-03.js > @@ +11,5 @@ > > +let gBreakpoints, gSources, gVariables; > > + > > +function test() { > > + // Debug test slaves are a bit slow at this test. > > + requestLongerTimeout(4); > > an inauspicious beginning... > Copy paste leftover. I'll remove it.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
QA Whiteboard: [good first verify]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: