Closed Bug 1583550 Opened 5 years ago Closed 4 years ago

Support additional targets in the OBT when we highlight the dock icon in case of breakpoints

Categories

(DevTools :: Debugger, enhancement, P1)

enhancement

Tracking

(Fission Milestone:M6, firefox73 fixed)

RESOLVED FIXED
Firefox 73
Fission Milestone M6
Tracking Status
firefox73 --- fixed

People

(Reporter: ochameau, Assigned: jlast)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-m1)

Attachments

(1 file, 3 obsolete files)

This particular code:
https://searchfox.org/mozilla-central/source/devtools/client/framework/toolbox-process-window.js#259-265
doesn't work with the changes landed in bug 1578408.
We must ensure that we do listen for paused event on all targets, not only the top level one.
To do that, we may use the upcoming Resource API which is still in process of being written, or emit an event from the toolbox, each time we receive a paused event.

Depends on: dbg-fission
Priority: -- → P2
Whiteboard: dt-fission
Assignee: nobody → jlaster
Status: NEW → ASSIGNED
Priority: P2 → P1
Assignee: jlaster → bhackett1024
Assignee: bhackett1024 → jlaster

I should have provided a fixed revision searchfox link, here is one:
https://searchfox.org/mozilla-central/rev/3300072e993ae05d50d5c63d815260367eaf9179/devtools/client/framework/toolbox-process-window.js#289-291

This bug should be actionable as bug 1471754 landed.
The goal would be to use Toolbox's targetList in order to watch for all targets and listen to all target's thread fronts.
So that we update the dock icon if any thread pauses, instead of updating it only for the top level parent process target.
The target list API to use would be the following:
toolbox.targetList.watchTargets(toolbox.targetList.ALL_TYPES, onTargetAvailable, onTargetDestroyed)

Blocks: dbg-fission
No longer depends on: dbg-fission
Attachment #9113541 - Attachment is obsolete: true
Attachment #9113558 - Attachment is obsolete: true
Attachment #9110665 - Attachment is obsolete: true

Tracking for Fission Nightly (M6)

Fission Milestone: --- → M6
Whiteboard: dt-fission → dt-fission dt-fission-m1
Pushed by jlaster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d6fdd3c5b7dd
Highlight toolbox paused state. r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 73
Depends on: 1603698
Whiteboard: dt-fission dt-fission-m1 → dt-fission-m1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: