Open
Bug 882825
(tagStack)
Opened 11 years ago
Updated 2 years ago
Implement console.tagStack
Categories
(DevTools :: General, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: fitzgen, Unassigned)
References
(Blocks 1 open bug)
Details
As mentioned in this thread: https://groups.google.com/forum/?fromgroups#!searchin/mozilla.dev.developer-tools/ember/mozilla.dev.developer-tools/UaHRe6uUW0E/rvM-qIcY2nIJ
function foo() {
setTimeout(console.tagStack(function bar() {
throw Error();
}, 0);
}
foo();
Should have a stack of |foo, bar| in our developer tools.
Comment 1•11 years ago
|
||
(In reply to Nick Fitzgerald [:fitzgen] from comment #0)
> As mentioned in this thread:
> https://groups.google.com/forum/?fromgroups#!searchin/mozilla.dev.developer-
> tools/ember/mozilla.dev.developer-tools/UaHRe6uUW0E/rvM-qIcY2nIJ
>
> function foo() {
> setTimeout(console.tagStack(function bar() {
> throw Error();
> }, 0);
Missing closing paren between '}' and ',' ?
> }
> foo();
I imagine console.tagStack is |x => x| when devtools are closed?
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to David Bruant from comment #1)
> (In reply to Nick Fitzgerald [:fitzgen] from comment #0)
> > As mentioned in this thread:
> > https://groups.google.com/forum/?fromgroups#!searchin/mozilla.dev.developer-
> > tools/ember/mozilla.dev.developer-tools/UaHRe6uUW0E/rvM-qIcY2nIJ
> >
> > function foo() {
> > setTimeout(console.tagStack(function bar() {
> > throw Error();
> > }, 0);
> Missing closing paren between '}' and ',' ?
Yeah, thanks.
>
> > }
> > foo();
>
> I imagine console.tagStack is |x => x| when devtools are closed?
It would be nice if we could record this all the time, so that when you open the console for the first time and get all the queued up messages/errors, they have their stacks tagged.
Reporter | ||
Updated•11 years ago
|
Depends on: async-stacks
Reporter | ||
Updated•10 years ago
|
Blocks: async-stacks
No longer depends on: async-stacks
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Type: defect → enhancement
Updated•4 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•