PassthroughScriptedThread#

class lldb.plugins.scripted_process.PassthroughScriptedThread(process: ScriptedProcess | SBProcess, args: SBStructuredData)#

A reference ScriptedThread subclass that forwards every request to a specific thread of a driving process. See PassthroughScriptedProcess for the process-side counterpart.

Methods Summary

get_name()

Get the scripted thread name.

get_register_context()

Get the scripted thread register context

get_stop_reason()

Get the dictionary describing the stop reason type with some data.

get_thread_id()

Get the scripted thread identifier.

Methods Documentation

get_name() str#

Get the scripted thread name.

Returns:

The name of the scripted thread.

Return type:

str

get_register_context() str | None#

Get the scripted thread register context

Returns:

A byte representing all registerโ€™s value.

Return type:

str

get_stop_reason() dict#
Get the dictionary describing the stop reason type with some data.

This method is optional.

Returns:

The dictionary holding the stop reason type and the possibly the stop reason data.

Return type:

Dict

get_thread_id() int#

Get the scripted thread identifier.

Returns:

The identifier of the scripted thread.

Return type:

int