Open Bug 1561788 Opened 5 years ago Updated 2 years ago

Add finer grain controls for debugging child processes

Categories

(Toolkit :: Startup and Profile System, task, P5)

task

Tracking

()

Fission Milestone Future

People

(Reporter: mattwoodrow, Unassigned)

References

(Blocks 1 open bug)

Details

We currently have MOZ_DEBUG_CHILD_PROCESS which pauses all children and waits for you to attach a debugger.

On OSX at least, that's getting pretty painful as a reftest run usually launches 6+ processes, and you need to attach to each of them manually (using lots of terminal tabs).

Fission is going to make this even worse.

I think that we could add an env var that specifies which process types (rdd, gpu, tab etc) you want to be paused for debugging, as a comma separated list of strings, compared against the list in GeckoProcessTypes.h.

We could also add something similar, but with a list of origins (partial matching?) so that you can debug specific processes when fission is enabled.

Bugbug thinks this bug is a task, but please change it back in case of error.

Type: defect → task
Fission Milestone: --- → M5
Priority: -- → P5
Fission Milestone: M5 → Future
Severity: normal → S3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.