Closed Bug 1582779 Opened 5 years ago Closed 5 years ago

JS Tracer feature in the popup should offer to restart the browser with the environment variable set

Categories

(DevTools :: Performance Tools (Profiler/Timeline), enhancement, P2)

enhancement

Tracking

(firefox72 fixed)

RESOLVED FIXED
Firefox 72
Tracking Status
firefox72 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The browser needs to be restarted with the JS_TRACE_LOGGING=1 environment variable enabled for JS Tracer to work. We should offer to do that for users to make it easier to use that feature.

Here is the code that did it in the old Cleopatra world: https://github.com/bgirard/Gecko-Profiler-Addon/blob/9db4669cc70e10aab75eba7e82d0bff67b0a20db/src/lib/main.js#L2339-L2345

Blocks: 1592015
Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/76cd5919691e Offer to restart the browser when JS Tracer is enabled; r=julienw
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: