Open Bug 1271641 Opened 9 years ago Updated 2 years ago

Implement a C++ interface for the Debugger API.

Categories

(Core :: JavaScript Engine, enhancement)

enhancement

Tracking

()

People

(Reporter: ejpbruel, Unassigned)

References

(Depends on 4 open bugs, Blocks 2 open bugs)

Details

SpiderMonkey has a Debugger API. This API is implemented in C++, but only has a JavaScript interface. This allows the Debugger API to be used from privileged JavaScript code. This works well enough for Gecko, where the debugger server is written in JavaScript. Servo, on the other hand, does not support privileged JavaScript code, and would like to keep it that way. A debugger server for Servo would therefore have to be written in Rust. Even so, we'd still like to be able to use the existing Debugger API, rather than start over from scratch. The shortest path to get there would be to give the debugger API a C++ interface, from which we can then generate Rust bindings. This bug blocks bug 1263317, which is about implementing a higher level interface for the debugger API in Rust, on top of the lower level interface that will be generated by the bindings.
Blocks: 1263289
Whiteboard: [devtools-html] [triage]
Depends on: 1271649
Depends on: 1271650
Depends on: 1271651
Depends on: 1271653
Depends on: 1271654
Depends on: 1271655
Flags: qe-verify-
Priority: P3 → P2
Whiteboard: [devtools-html] [triage] → [devtools-html]
No longer blocks: 1263289
Blocks: 1263289
Assignee: ejpbruel → nobody
Priority: P2 → --
Summary: Implement a C++ interface for the Debugger API. → [meta-html] Implement a C++ interface for the Debugger API.
Whiteboard: [devtools-html] → [meta-html] [devtools-html]
Whiteboard: [meta-html] [devtools-html] → [meta-html]
Depends on: 1278558
Depends on: 1278562
Severity: normal → enhancement
Summary: [meta-html] Implement a C++ interface for the Debugger API. → Implement a C++ interface for the Debugger API.
Whiteboard: [meta-html]
compliance with full implementation
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.