Using LLDB
Scripting LLDB
Developing LLDB
External Links
The base class for a scripted thread.
Most of the base class methods are@abstractmethod that need to beoverwritten by the inheriting class.
Methods Summary
Get scripted thread extended information. | |
| Get the scripted thread name. |
Get the scripted thread associated queue name. | |
Get the scripted thread register context | |
Get scripted frame plugin name. | |
Get the list of stack frames for the scripted thread. | |
Get the scripted thread state type. | |
Get the dictionary describing the stop reason type with some data. | |
Get the scripted thread identifier. | |
Get the scripted thread index. |
Methods Documentation
Get scripted thread extended information.
None if the thread as no extended information.
Get the scripted thread name.
str: The name of the scripted thread.
This method is optional.
str: The queue name associated with the scripted thread.
Get the scripted thread register context
str: A byte representing all register’s value.
Get scripted frame plugin name.
str: Name of the scripted frame plugin.
Get the list of stack frames for the scripted thread.
scripted_frame={idx=0,pc=0xbadc0ffee}
scripted_frame dictionariescontaining at least for each entry, the frame index andthe program counter value for that frame.The list can be empty.
Get the scripted thread state type.
eStateStopped,///<Processorthreadisstoppedandcanbeexamined.eStateRunning,///<Processorthreadisrunningandcan't be examined.eStateStepping,///<Processorthreadisintheprocessofsteppingand///cannotbeexamined.eStateCrashed,///<Processorthreadhascrashedandcanbeexamined.
Returns lldb.eStateStopped by default.
This method is optional.
Dict: The dictionary holding the stop reason type and the possiblythe stop reason data.
Get the scripted thread identifier.
int: The identifier of the scripted thread.
Get the scripted thread index.
int: The index of the scripted thread in the scripted process.
ScriptedThreadScriptedThread.get_extended_info()ScriptedThread.get_name()ScriptedThread.get_queue()ScriptedThread.get_register_context()ScriptedThread.get_register_info()ScriptedThread.get_scripted_frame_plugin()ScriptedThread.get_stackframes()ScriptedThread.get_state()ScriptedThread.get_stop_reason()ScriptedThread.get_thread_id()ScriptedThread.get_thread_idx()