Open
Bug 1191802
Opened 9 years ago
Updated 2 years ago
Break on add-on
Categories
(DevTools :: Debugger, enhancement, P5)
DevTools
Debugger
Tracking
(firefox42 affected)
NEW
Tracking | Status | |
---|---|---|
firefox42 | --- | affected |
People
(Reporter: Yoric, Unassigned)
References
(Blocks 1 open bug)
Details
I'd like to be able to add a breakpoint that's triggered once any code from that add-on is executed. This would help me (and probably add-on developers) find out why some add-on is flagged as slow.
Blocks: dbg-addon
Component: Developer Tools → Developer Tools: Debugger
Comment 1•9 years ago
|
||
Can you tell us why chrome debugging does not fulfill this use-case?
Flags: needinfo?(dteller)
Reporter | ||
Comment 2•9 years ago
|
||
I may be missing something, but I don't think there is a way to ask chrome debugging to break on _any_ use of an add-on, is there? Again, that's for add-ons which are somehow triggered by Firefox, but assuming that I don't know the entry point.
Flags: needinfo?(dteller) → needinfo?(mail)
Comment 3•9 years ago
|
||
Ah, I understand now, thank you for the clarification. Being familiar with add-ons (and therefore biased) I'm asking myself what the cases are where you have not the slightest clue about where to start debugging. I don't know about the "slow" flag for add-ons, but we should have docs about what code it triggers, and if not, we should write some :) Lmk, if this is going too far for this bug and we can continue this somewhere else.
Flags: needinfo?(mail)
Reporter | ||
Comment 4•9 years ago
|
||
Actually, my current example is an add-on that's just ~100 loc, which shouldn't be triggered by Firefox but apparently is. I suspect a bug in or around Jetpack. As for the "slow" flag for add-ons, I'm the one currently developing it :)
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Type: defect → enhancement
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•