Open Bug 783428 Opened 13 years ago Updated 3 years ago

[jsdbg2] Debugger should not turn on a compartment's debug mode unless necessary

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: jimb, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [js:t])

There are a lot of things I'd like to be able to use Debugger for that are less invasive than full debugging --- just looking at objects, scripts, and sources, for example. However, as soon as I add a global as a debuggee, the present implementation turns on debug mode for the whole compartment, de-optimizing things unnecessarily. For example, it would be nice if the profiler could use Debugger.Script instances (and the upcoming Debugger.Source instances) to display source code. That really shouldn't have any perf impact. But it does, at present.
Whiteboard: [js:t]
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.