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

https://github.com/mozilla/gecko-dev/blob/7ef5cefd0468b8f509efe38e0212de2398f4c8b3/devtools/client/fronts/thread.js#L129

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

https://github.com/mozilla/gecko-dev/blob/f1451cbda60df2f90ed2d5637dcc38615019a07c/devtools/server/actors/thread.js#L1579

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='')

https://github.com/mozilla/gecko-dev/blob/f1451cbda60df2f90ed2d5637dcc38615019a07c/devtools/server/actors/thread.js#L568

set_xhr_breakpoint(path: str, method='ANY')
skip_breakpoints(skip_breakpoints: dict | None = None)
sources()
toggle_event_logging(log_event_breakpoints: str)