Closed
Bug 1852028
Opened 3 years ago
Closed 2 years ago
JS Tracer: Log 'function returned'
Categories
(DevTools :: Debugger, enhancement)
DevTools
Debugger
Tracking
(firefox124 fixed)
RESOLVED
FIXED
124 Branch
| Tracking | Status | |
|---|---|---|
| firefox124 | --- | fixed |
People
(Reporter: Honza, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The tracer only reports when we start calling a function. But it could be useful, especially for async functions to also log when we exit a function.
In the Web Console we could have a highlight feature to help highlight function entering and exiting logs.
Complexity: we may have some significant work in the console to avoid cluttering the console output.
This may be better to implement this via a new dedicated side panel in the debugger
| Assignee | ||
Comment 1•2 years ago
|
||
For now, we were only logging when we enter a function call, but not when we exit.
Updated•2 years ago
|
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a64a2fcf64c5
[devtools] Log function return in javascript tracer. r=devtools-reviewers,nchevobbe
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•