ScriptedFrame#
- class lldb.plugins.scripted_process.ScriptedFrame(thread: ScriptedThread | SBThread, args: SBStructuredData)#
The base class for a scripted frame.
Most of the base class methods are
@abstractmethodthat need to be overwritten by the inheriting class.Methods Summary
get_cfa()Get the Call Frame Address for this frame.
Get the scripted frame display function name.
Get the scripted frame function name.
get_id()Get the scripted frame identifier.
get_pc()Get the scripted frame address.
Get the scripted thread register context
Get the register info dictionary describing the scripted frame's registers.
Get the scripted frame symbol context.
get_variables(filters)Get the scripted thread state type.
Check if the scripted frame is artificial.
Check if the scripted frame is hidden.
Check if the scripted frame is inlined.
Methods Documentation
- get_cfa() int#
Get the Call Frame Address for this frame. By default pass the ID of this frame so the CFA’s and the ID’s order the same way on this stop. This won’t support step-in and step-out, for those the frames have to have a stable CFA.
- get_display_function_name() str#
Get the scripted frame display function name.
- Returns:
The display function name of the scripted frame.
- Return type:
str
- get_function_name() str#
Get the scripted frame function name.
- Returns:
The function name of the scripted frame.
- Return type:
str
- abstract get_id() int#
Get the scripted frame identifier.
- Returns:
The identifier of the scripted frame in the scripted thread.
- Return type:
int
- get_pc() int | None#
Get the scripted frame address.
- Returns:
The optional address of the scripted frame in the scripted thread.
- Return type:
int
- abstract get_register_context() str#
Get the scripted thread register context
- Returns:
A byte representing all register’s value.
- Return type:
str
- get_register_info() dict[str, Any]#
Get the register info dictionary describing the scripted frame’s registers. Delegates to the originating scripted thread when there is one; otherwise lazily populates a per-architecture general-purpose register layout keyed off
self.arch.
- get_symbol_context() SBSymbolContext | None#
Get the scripted frame symbol context.
- Returns:
The symbol context of the scripted frame in the scripted thread.
- Return type:
- get_variables(filters: SBVariablesOptions) SBValueList | None#
Get the scripted thread state type.
- Parameters:
filter (lldb.SBVariablesOptions) – The filter used to resolve the variables
- Returns:
- The SBValueList containing the SBValue for each resolved variable.
Returns None by default.
- Return type:
- is_artificial() bool#
Check if the scripted frame is artificial.
- Returns:
True if scripted frame is artificial. False otherwise.
- Return type:
bool
Check if the scripted frame is hidden.
- Returns:
True if scripted frame is hidden. False otherwise.
- Return type:
bool
- is_inlined() bool#
Check if the scripted frame is inlined.
- Returns:
True if scripted frame is inlined. False otherwise.
- Return type:
bool