Closed Bug 1835614 Opened 2 years ago Closed 2 years ago

Display arguments names and values when logging javascript traces

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox123 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

The old debugger tracer (bug 1071521) was logging arguments names and values,
it would be neat if the new tracer was also doing this.

Introduce a new global option in the tracer to log values.

For now, it only triggers javascript function call arguments to be logged,
but this will also impact the incoming feature logging native function calls,
and also the other incoming feature to log the returned values.

This help reduce the RDP overhead by only transferring what is strictly necessary.
The console message resources bundles various useless attributes.
This should also help better display traces in the frontend.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Blocks: 1870710
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/60b933696a41 [devtools] Use a custom resource for traces. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/4501d1fb176a [devtools] Log function call arguments. r=devtools-reviewers,fluent-reviewers,devtools-backward-compat-reviewers,nchevobbe
Blocks: 1870801
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2284795de753 [devtools] Use a custom resource for traces. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/05a5c9023d79 [devtools] Log function call arguments. r=devtools-reviewers,fluent-reviewers,devtools-backward-compat-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Flags: needinfo?(poirot.alex)
Depends on: 1871500
Blocks: 1871500
No longer depends on: 1871500
Regressions: 1875062
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: