Closed Bug 1566885 Opened 5 years ago Closed 5 years ago

Remove remaining external dependencies on Debugger

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

(Blocks 1 open bug)

Details

(Whiteboard: [debugger-mvp])

Attachments

(2 files)

Attached patch patch (deleted) — Splinter Review

Bug 1565621 factors out most debugger methods which are used in the rest of spidermonkey into a new DebugAPI class, but there are still some places where Debugger.h needs to be included by SpiderMonkey, so that code can access Debugger or associated internal structures like BreakpointSite.

The attached patch cuts the rest of these dependencies, so that Debugger.h is only included by Debugger-related files which are (or will be soon) in js/src/dbg. The main task is factoring out DebugScript (JSScript's associated debugging data) into its own (internal) files in js/src/dbg, and only interacting with it externally through DebugAPI. Some minor changes are also needed for places where Debugger objects are accessed directly.

Priority: -- → P2
Blocks: dbg-70
Status: NEW → ASSIGNED
Whiteboard: [debugger-mvp]
Pushed by bhackett@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e412a79fe5f7 Factor uses of internal Debugger state out of non-debugger-related files, r=jimb.
Pushed by bhackett@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e562241deba7 Factor uses of internal Debugger state out of non-debugger-related files, r=jimb.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Flags: needinfo?(bhackett1024)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: