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)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 32
People
(Reporter: vporof, Assigned: vporof)
References
Details
Attachments
(1 file)
|
8.96 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
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+
| Assignee | ||
Comment 3•11 years ago
|
||
(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
Updated•11 years ago
|
QA Whiteboard: [good first verify]
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•