Open Bug 1185217 Opened 9 years ago Updated 2 years ago

Possibility to activate script tracing in Browser Toolbox

Categories

(DevTools :: Debugger, enhancement, P5)

39 Branch
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: d_jan, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150629114848

Steps to reproduce:

I wanted to debug Add-On JavaScript by using the Browser Toolbox. For "normal" non-browser JavaScript I can activated  the tracer by setting about:config -> devtools.debugger.tracer = true


Actual results:

The about:config -> devtools.debugger.tracer = true did not seem to affect the debugger of the browser Toolbox (no tracer button visible), nor did I find an about:config option that may enable it. 


Expected results:

Browser toolbox should have the tracer option too; either activated by the same or another about:config option.
Group: core-security
Component: Untriaged → Developer Tools
Component: Developer Tools → Developer Tools: Debugger
The tracer was removed in bug 1176981 as it is unsupported and has various unsolved issues.

Nick, is there a future plan for similar functionality?
Flags: needinfo?(nfitzgerald)
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #1)
> The tracer was removed in bug 1176981 as it is unsupported and has various
> unsolved issues.
> 
> Nick, is there a future plan for similar functionality?

Using the Debugger API's onEnterFrame and Frame.onPop hooks was much too slow. If we revisit a tracing debugger in the future, we can build on top of the trace logger, which has since been exposed on the Debugger API.
Flags: needinfo?(nfitzgerald)
Product: Firefox → DevTools

Closing as tracing is not on the roadmap.

Type: defect → enhancement
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.