C# Class LLDB.Frame

Inheritance: IDisposable
ファイルを表示 Open project: tritao/LLDBSharp Class Usage Examples

Public Properties

Property Type Description
NativeToManagedMap Frame>.System.Collections.Concurrent.ConcurrentDictionary

Protected Properties

Property Type Description
__OriginalVTables void*[]
__PointerAdjustment int
__ownsNativeInstance bool

Public Methods

Method Description
Clear ( ) : void
Disassemble ( ) : string
Dispose ( ) : void
Equals ( object obj ) : bool
EvaluateExpression ( string expr ) : LLDB.Value

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

EvaluateExpression ( string expr, LLDB use_dynamic ) : LLDB.Value
EvaluateExpression ( string expr, LLDB use_dynamic, bool unwind_on_error ) : LLDB.Value
FindRegister ( string name ) : LLDB.Value
FindValue ( string name, LLDB value_type ) : LLDB.Value

Find variables, register sets, registers, or persistent variables using

the frame as the scope.

NB. This function does not look up ivars in the function object pointer.

To do that use GetValueForVariablePath.

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

FindValue ( string name, LLDB value_type, LLDB use_dynamic ) : LLDB.Value
FindVariable ( string var_name ) : LLDB.Value

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

FindVariable ( string var_name, LLDB use_dynamic ) : LLDB.Value
Frame ( ) : System
Frame ( LLDB rhs ) : System
GetBlock ( ) : LLDB.Block

Gets the deepest block that contains the frame PC.

See also GetFrameBlock().

GetCompileUnit ( ) : LLDB.CompileUnit
GetDescription ( LLDB description ) : bool
GetFrameBlock ( ) : LLDB.Block

Gets the lexical block that defines the stack frame. Another way to think

of this is it will return the block that contains all of the variables

for a stack frame. Inlined functions are represented as SBBlock objects

that have inlined function information: the name of the inlined function,

where it was called from. The block that is returned will be the first

block at or above the block for the PC (SBFrame::GetBlock()) that defines

the scope of the frame. When a function contains no inlined functions,

this will be the top most lexical block that defines the function.

When a function has inlined functions and the PC is currently

in one of those inlined functions, this method will return the inlined

block that defines this frame. If the PC isn't currently in an inlined

function, the lexical block that defines the function is returned.

GetFunction ( ) : LLDB.Function
GetHashCode ( ) : int
GetLineEntry ( ) : LLDB.LineEntry
GetModule ( ) : LLDB.Module
GetPCAddress ( ) : LLDB.Address
GetRegisters ( ) : LLDB.ValueList
GetSymbol ( ) : LLDB.Symbol
GetSymbolContext ( uint resolve_scope ) : LLDB.SymbolContext
GetThread ( ) : LLDB.Thread
GetValueForVariablePath ( string var_path ) : LLDB.Value

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

GetValueForVariablePath ( string var_expr_cstr, LLDB use_dynamic ) : LLDB.Value
GetVariables ( LLDB options ) : LLDB.ValueList
GetVariables ( bool arguments, bool locals, bool statics, bool in_scope_only ) : LLDB.ValueList

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

GetVariables ( bool arguments, bool locals, bool statics, bool in_scope_only, LLDB use_dynamic ) : LLDB.ValueList
IsEqual ( LLDB that ) : bool
IsInlined ( ) : bool

Return true if this frame represents an inlined function.

See also GetFunctionName().

IsValid ( ) : bool
SetPC ( ulong new_pc ) : bool
__CreateInstance ( Frame native, bool skipVTables = false ) : Frame
__CreateInstance ( global native, bool skipVTables = false ) : Frame
operator ( ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Frame ( void native, bool skipVTables = false ) : System

Private Methods

Method Description
Frame ( Frame native, bool skipVTables = false ) : System
__CopyValue ( Frame native ) : void*

Method Details

Clear() public method

public Clear ( ) : void
return void

Disassemble() public method

public Disassemble ( ) : string
return string

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

EvaluateExpression() public method

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

public EvaluateExpression ( string expr ) : LLDB.Value
expr string
return LLDB.Value

EvaluateExpression() public method

public EvaluateExpression ( string expr, LLDB use_dynamic ) : LLDB.Value
expr string
use_dynamic LLDB
return LLDB.Value

EvaluateExpression() public method

public EvaluateExpression ( string expr, LLDB use_dynamic, bool unwind_on_error ) : LLDB.Value
expr string
use_dynamic LLDB
unwind_on_error bool
return LLDB.Value

FindRegister() public method

public FindRegister ( string name ) : LLDB.Value
name string
return LLDB.Value

FindValue() public method

Find variables, register sets, registers, or persistent variables using

the frame as the scope.

NB. This function does not look up ivars in the function object pointer.

To do that use GetValueForVariablePath.

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

public FindValue ( string name, LLDB value_type ) : LLDB.Value
name string
value_type LLDB
return LLDB.Value

FindValue() public method

public FindValue ( string name, LLDB value_type, LLDB use_dynamic ) : LLDB.Value
name string
value_type LLDB
use_dynamic LLDB
return LLDB.Value

FindVariable() public method

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

public FindVariable ( string var_name ) : LLDB.Value
var_name string
return LLDB.Value

FindVariable() public method

public FindVariable ( string var_name, LLDB use_dynamic ) : LLDB.Value
var_name string
use_dynamic LLDB
return LLDB.Value

Frame() public method

public Frame ( ) : System
return System

Frame() public method

public Frame ( LLDB rhs ) : System
rhs LLDB
return System

Frame() protected method

protected Frame ( void native, bool skipVTables = false ) : System
native void
skipVTables bool
return System

GetBlock() public method

Gets the deepest block that contains the frame PC.

See also GetFrameBlock().

public GetBlock ( ) : LLDB.Block
return LLDB.Block

GetCompileUnit() public method

public GetCompileUnit ( ) : LLDB.CompileUnit
return LLDB.CompileUnit

GetDescription() public method

public GetDescription ( LLDB description ) : bool
description LLDB
return bool

GetFrameBlock() public method

Gets the lexical block that defines the stack frame. Another way to think

of this is it will return the block that contains all of the variables

for a stack frame. Inlined functions are represented as SBBlock objects

that have inlined function information: the name of the inlined function,

where it was called from. The block that is returned will be the first

block at or above the block for the PC (SBFrame::GetBlock()) that defines

the scope of the frame. When a function contains no inlined functions,

this will be the top most lexical block that defines the function.

When a function has inlined functions and the PC is currently

in one of those inlined functions, this method will return the inlined

block that defines this frame. If the PC isn't currently in an inlined

function, the lexical block that defines the function is returned.

public GetFrameBlock ( ) : LLDB.Block
return LLDB.Block

GetFunction() public method

public GetFunction ( ) : LLDB.Function
return LLDB.Function

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetLineEntry() public method

public GetLineEntry ( ) : LLDB.LineEntry
return LLDB.LineEntry

GetModule() public method

public GetModule ( ) : LLDB.Module
return LLDB.Module

GetPCAddress() public method

public GetPCAddress ( ) : LLDB.Address
return LLDB.Address

GetRegisters() public method

public GetRegisters ( ) : LLDB.ValueList
return LLDB.ValueList

GetSymbol() public method

public GetSymbol ( ) : LLDB.Symbol
return LLDB.Symbol

GetSymbolContext() public method

public GetSymbolContext ( uint resolve_scope ) : LLDB.SymbolContext
resolve_scope uint
return LLDB.SymbolContext

GetThread() public method

public GetThread ( ) : LLDB.Thread
return LLDB.Thread

GetValueForVariablePath() public method

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

public GetValueForVariablePath ( string var_path ) : LLDB.Value
var_path string
return LLDB.Value

GetValueForVariablePath() public method

public GetValueForVariablePath ( string var_expr_cstr, LLDB use_dynamic ) : LLDB.Value
var_expr_cstr string
use_dynamic LLDB
return LLDB.Value

GetVariables() public method

public GetVariables ( LLDB options ) : LLDB.ValueList
options LLDB
return LLDB.ValueList

GetVariables() public method

The version that doesn't supply a 'use_dynamic' value will use the

target's default.

public GetVariables ( bool arguments, bool locals, bool statics, bool in_scope_only ) : LLDB.ValueList
arguments bool
locals bool
statics bool
in_scope_only bool
return LLDB.ValueList

GetVariables() public method

public GetVariables ( bool arguments, bool locals, bool statics, bool in_scope_only, LLDB use_dynamic ) : LLDB.ValueList
arguments bool
locals bool
statics bool
in_scope_only bool
use_dynamic LLDB
return LLDB.ValueList

IsEqual() public method

public IsEqual ( LLDB that ) : bool
that LLDB
return bool

IsInlined() public method

Return true if this frame represents an inlined function.

See also GetFunctionName().

public IsInlined ( ) : bool
return bool

IsValid() public method

public IsValid ( ) : bool
return bool

SetPC() public method

public SetPC ( ulong new_pc ) : bool
new_pc ulong
return bool

__CreateInstance() public static method

public static __CreateInstance ( Frame native, bool skipVTables = false ) : Frame
native Frame
skipVTables bool
return Frame

__CreateInstance() public static method

public static __CreateInstance ( global native, bool skipVTables = false ) : Frame
native global
skipVTables bool
return Frame

operator() public static method

public static operator ( ) : bool
return bool

Property Details

NativeToManagedMap public_oe static_oe property

public static System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap
return Frame>.System.Collections.Concurrent.ConcurrentDictionary

__OriginalVTables protected_oe property

protected void*[] __OriginalVTables
return void*[]

__PointerAdjustment protected_oe property

protected int __PointerAdjustment
return int

__ownsNativeInstance protected_oe property

protected bool __ownsNativeInstance
return bool