Open Bug 1558884 Opened 5 years ago Updated 2 years ago

Cleanup _pauseAndRespond method on DevTools Thread actor

Categories

(DevTools :: Debugger, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

The current _pauseAndRespond method in the DevTools thread actor has several issues:

Some improvements will come with Bug 1494796, but there is a lot left to do.

Priority: -- → P3

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Debugger

_pauseAndRespond is super weird.

  • I agree we should make it public
  • undefined and null are special values for whether we should resume or suspend execution.
  • if we pause we want to notify the client
  • i'll look at the parentClosed field
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.