Closed Bug 1884717 Opened 11 months ago Closed 11 months ago

Allow :trace console command to log function returns

Categories

(DevTools :: Console, enhancement)

enhancement

Tracking

(firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(2 files)

Bug 1852028 only exposed the function returns logging via the debugger icon.
This feature should allow exists from the console command.

The Bugbug bot thinks this bug should belong to the 'DevTools::Console' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Console

We were logging "returns undefined" everywhere.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED

This was only exposed via the Debugger button.

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f919d6845da3 [devtools] Only log "returns" when logging exit frames without tracing values. r=devtools-reviewers,bomsy https://hg.mozilla.org/integration/autoland/rev/82a5ec7848ca [devtools] Expose function returns logging to webconsole :trace command. r=devtools-reviewers,fluent-reviewers,flod,bomsy
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: