Closed Bug 2006092 Opened 3 months ago Closed 2 months ago

"show stacktrace" on log points doesn't show the async stack

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: jrmuizel, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

If I add console.trace to the log expression I get a stack that includes the async parts. The stack attached with "show stacktrace" only shows the sync stack. It'd be nice if we could get the async part too.

Would be nice to fix and make it consistent with console.trace, thanks for filing.

Severity: -- → S3
Type: enhancement → defect
Priority: -- → P3

May be coming from this logic.

Console.trace stack retrieval comes from here, which explicitely handle async stacks.

It looks like we miss querying asyncCaller.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/91ed6ffc83ab https://hg.mozilla.org/integration/autoland/rev/4e712357b5d0 [devtools] Include async frames in logpoint stacktrace. r=devtools-reviewers,bomsy
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: