actors.thread module
- class actors.thread.ThreadActor(*args, **kwargs)
Bases:
Actor
https://github.com/mozilla/gecko-dev/blob/master/devtools/shared/specs/thread.js
- class ResumeLimit(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
str
,Enum
- BREAK = 'break'
- FINISH = 'finish'
- NEXT = 'next'
- NONE = 'None'
- RESTART = 'restart'
- STEP = 'step'
- class When(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
str
,Enum
- NOW = ''
- ON_NEXT = 'onNext'
- attach(pause_on_exceptions=False, ignore_caught_exceptions=True, should_show_overlay=False, should_include_saved_frames=True, should_include_async_live_frames=False, skip_breakpoints=False, log_event_breakpoints=False, observe_asm_js=True, breakpoints: dict | None = None, event_breakpoints: list | None = None)
- dump_pools()
- dump_thread()
- frames(start: int, count: int)
- get_active_event_breakpoints()
- get_available_event_breakpoints()
- interrupt(when=When.NOW)
- is_attached()
- pause_on_exceptions(pause_on_exceptions: str, ignore_caught_exceptions: str)
- reconfigure(observe_asm_js=True, pause_workers_until_attach=True, skip_breakpoints: dict | None = None, log_event_breakpoints: list | None = None)
- remove_breakpoint(line: int, column: int, source_url='', source_id='')
- remove_xhr_breakpoint(path: str, method: str)
- resume(resume_limit=ResumeLimit.NONE, frame_actor_id='')
- set_active_event_breakpoints(ids: list)
- set_breakpoint(line: int, column: int, source_url='', source_id='', condition='', log_value='')
- set_xhr_breakpoint(path: str, method='ANY')
- skip_breakpoints(skip_breakpoints: dict | None = None)
- sources()
- toggle_event_logging(log_event_breakpoints: str)