C# Class LLDB.Debugger

Inheritance: IDisposable
Mostra file Open project: tritao/LLDBSharp Class Usage Examples

Public Properties

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

Protected Properties

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

Public Methods

Method Description
Clear ( ) : void
Create ( ) : LLDB.Debugger
Create ( bool source_init_files ) : LLDB.Debugger
Create ( bool source_init_files, LLDB log_callback, global baton ) : LLDB.Debugger
CreateCategory ( string category_name ) : LLDB.TypeCategory
CreateTarget ( string filename ) : LLDB.Target
CreateTarget ( string filename, string target_triple, string platform_name, bool add_dependent_modules, LLDB error ) : LLDB.Target
CreateTargetWithFileAndArch ( string filename, string archname ) : LLDB.Target
CreateTargetWithFileAndTargetTriple ( string filename, string target_triple ) : LLDB.Target
Debugger ( ) : System
Debugger ( LLDB rhs ) : System
DeleteCategory ( string category_name ) : bool
DeleteTarget ( LLDB target ) : bool
Destroy ( LLDB debugger ) : void
DispatchInput ( global baton, global data, uint data_len ) : void
DispatchInput ( global data, uint data_len ) : void
DispatchInputEndOfFile ( ) : void
DispatchInputInterrupt ( ) : void
Dispose ( ) : void
EnableLog ( string channel, sbyte categories ) : bool
FindDebuggerWithID ( int id ) : LLDB.Debugger
FindTargetWithFileAndArch ( string filename, string arch ) : LLDB.Target
FindTargetWithProcessID ( ulong pid ) : LLDB.Target
GetCategory ( LLDB lang_type ) : LLDB.TypeCategory
GetCategory ( string category_name ) : LLDB.TypeCategory
GetCategoryAtIndex ( uint _0 ) : LLDB.TypeCategory
GetCommandInterpreter ( ) : LLDB.CommandInterpreter
GetDefaultArchitecture ( sbyte arch_name, uint arch_name_len ) : bool
GetDefaultCategory ( ) : LLDB.TypeCategory
GetDescription ( LLDB description ) : bool
GetFilterForType ( LLDB _0 ) : LLDB.TypeFilter
GetFormatForType ( LLDB _0 ) : LLDB.TypeFormat
GetIndexOfTarget ( LLDB target ) : uint
GetInternalVariableValue ( string var_name, string debugger_instance_name ) : LLDB.StringList
GetListener ( ) : LLDB.Listener
GetScriptingLanguage ( string script_language_name ) : LLDB.ScriptLanguage
GetSelectedPlatform ( ) : LLDB.Platform
GetSelectedTarget ( ) : LLDB.Target
GetSourceManager ( ) : LLDB.SourceManager
GetSummaryForType ( LLDB _0 ) : LLDB.TypeSummary
GetSyntheticForType ( LLDB _0 ) : LLDB.TypeSynthetic
GetTargetAtIndex ( uint idx ) : LLDB.Target
HandleCommand ( string command ) : void
HandleProcessEvent ( LLDB process, LLDB @event, global @out, global err ) : void
Initialize ( ) : void
IsValid ( ) : bool
MemoryPressureDetected ( ) : void
PushInputReader ( LLDB reader ) : void
RestoreInputTerminalState ( ) : void
RunCommandInterpreter ( bool auto_handle_events, bool spawn_thread ) : void
RunCommandInterpreter ( bool auto_handle_events, bool spawn_thread, LLDB options, int &num_errors, bool &quit_requested, bool &stopped_for_crash ) : void
RunREPL ( LLDB language, string repl_options ) : LLDB.Error
SaveInputTerminalState ( ) : void
SetCurrentPlatform ( string platform_name ) : LLDB.Error
SetCurrentPlatformSDKRoot ( string sysroot ) : bool
SetDefaultArchitecture ( string arch_name ) : bool
SetErrorFileHandle ( global f, bool transfer_ownership ) : void
SetInputFileHandle ( global f, bool transfer_ownership ) : void
SetInternalVariable ( string var_name, string value, string debugger_instance_name ) : LLDB.Error
SetLoggingCallback ( LLDB log_callback, global baton ) : void
SetOutputFileHandle ( global f, bool transfer_ownership ) : void
SetUseColor ( bool use_color ) : bool
SetUseExternalEditor ( bool input ) : bool
SkipAppInitFiles ( bool b ) : void
SkipLLDBInitFiles ( bool b ) : void
StateAsCString ( LLDB state ) : string
StateIsRunningState ( LLDB state ) : bool
StateIsStoppedState ( LLDB state ) : bool
Terminate ( ) : void
__CreateInstance ( Debugger native, bool skipVTables = false ) : Debugger
__CreateInstance ( global native, bool skipVTables = false ) : Debugger

Protected Methods

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

Private Methods

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

Method Details

Clear() public method

public Clear ( ) : void
return void

Create() public static method

public static Create ( ) : LLDB.Debugger
return LLDB.Debugger

Create() public static method

public static Create ( bool source_init_files ) : LLDB.Debugger
source_init_files bool
return LLDB.Debugger

Create() public static method

public static Create ( bool source_init_files, LLDB log_callback, global baton ) : LLDB.Debugger
source_init_files bool
log_callback LLDB
baton global
return LLDB.Debugger

CreateCategory() public method

public CreateCategory ( string category_name ) : LLDB.TypeCategory
category_name string
return LLDB.TypeCategory

CreateTarget() public method

public CreateTarget ( string filename ) : LLDB.Target
filename string
return LLDB.Target

CreateTarget() public method

public CreateTarget ( string filename, string target_triple, string platform_name, bool add_dependent_modules, LLDB error ) : LLDB.Target
filename string
target_triple string
platform_name string
add_dependent_modules bool
error LLDB
return LLDB.Target

CreateTargetWithFileAndArch() public method

public CreateTargetWithFileAndArch ( string filename, string archname ) : LLDB.Target
filename string
archname string
return LLDB.Target

CreateTargetWithFileAndTargetTriple() public method

public CreateTargetWithFileAndTargetTriple ( string filename, string target_triple ) : LLDB.Target
filename string
target_triple string
return LLDB.Target

Debugger() public method

public Debugger ( ) : System
return System

Debugger() public method

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

Debugger() protected method

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

DeleteCategory() public method

public DeleteCategory ( string category_name ) : bool
category_name string
return bool

DeleteTarget() public method

public DeleteTarget ( LLDB target ) : bool
target LLDB
return bool

Destroy() public static method

public static Destroy ( LLDB debugger ) : void
debugger LLDB
return void

DispatchInput() public method

public DispatchInput ( global baton, global data, uint data_len ) : void
baton global
data global
data_len uint
return void

DispatchInput() public method

public DispatchInput ( global data, uint data_len ) : void
data global
data_len uint
return void

DispatchInputEndOfFile() public method

public DispatchInputEndOfFile ( ) : void
return void

DispatchInputInterrupt() public method

public DispatchInputInterrupt ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

EnableLog() public method

public EnableLog ( string channel, sbyte categories ) : bool
channel string
categories sbyte
return bool

FindDebuggerWithID() public static method

public static FindDebuggerWithID ( int id ) : LLDB.Debugger
id int
return LLDB.Debugger

FindTargetWithFileAndArch() public method

public FindTargetWithFileAndArch ( string filename, string arch ) : LLDB.Target
filename string
arch string
return LLDB.Target

FindTargetWithProcessID() public method

public FindTargetWithProcessID ( ulong pid ) : LLDB.Target
pid ulong
return LLDB.Target

GetCategory() public method

public GetCategory ( LLDB lang_type ) : LLDB.TypeCategory
lang_type LLDB
return LLDB.TypeCategory

GetCategory() public method

public GetCategory ( string category_name ) : LLDB.TypeCategory
category_name string
return LLDB.TypeCategory

GetCategoryAtIndex() public method

public GetCategoryAtIndex ( uint _0 ) : LLDB.TypeCategory
_0 uint
return LLDB.TypeCategory

GetCommandInterpreter() public method

public GetCommandInterpreter ( ) : LLDB.CommandInterpreter
return LLDB.CommandInterpreter

GetDefaultArchitecture() public static method

public static GetDefaultArchitecture ( sbyte arch_name, uint arch_name_len ) : bool
arch_name sbyte
arch_name_len uint
return bool

GetDefaultCategory() public method

public GetDefaultCategory ( ) : LLDB.TypeCategory
return LLDB.TypeCategory

GetDescription() public method

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

GetFilterForType() public method

public GetFilterForType ( LLDB _0 ) : LLDB.TypeFilter
_0 LLDB
return LLDB.TypeFilter

GetFormatForType() public method

public GetFormatForType ( LLDB _0 ) : LLDB.TypeFormat
_0 LLDB
return LLDB.TypeFormat

GetIndexOfTarget() public method

public GetIndexOfTarget ( LLDB target ) : uint
target LLDB
return uint

GetInternalVariableValue() public static method

public static GetInternalVariableValue ( string var_name, string debugger_instance_name ) : LLDB.StringList
var_name string
debugger_instance_name string
return LLDB.StringList

GetListener() public method

public GetListener ( ) : LLDB.Listener
return LLDB.Listener

GetScriptingLanguage() public method

public GetScriptingLanguage ( string script_language_name ) : LLDB.ScriptLanguage
script_language_name string
return LLDB.ScriptLanguage

GetSelectedPlatform() public method

public GetSelectedPlatform ( ) : LLDB.Platform
return LLDB.Platform

GetSelectedTarget() public method

public GetSelectedTarget ( ) : LLDB.Target
return LLDB.Target

GetSourceManager() public method

public GetSourceManager ( ) : LLDB.SourceManager
return LLDB.SourceManager

GetSummaryForType() public method

public GetSummaryForType ( LLDB _0 ) : LLDB.TypeSummary
_0 LLDB
return LLDB.TypeSummary

GetSyntheticForType() public method

public GetSyntheticForType ( LLDB _0 ) : LLDB.TypeSynthetic
_0 LLDB
return LLDB.TypeSynthetic

GetTargetAtIndex() public method

public GetTargetAtIndex ( uint idx ) : LLDB.Target
idx uint
return LLDB.Target

HandleCommand() public method

public HandleCommand ( string command ) : void
command string
return void

HandleProcessEvent() public method

public HandleProcessEvent ( LLDB process, LLDB @event, global @out, global err ) : void
process LLDB
@event LLDB
@out global
err global
return void

Initialize() public static method

public static Initialize ( ) : void
return void

IsValid() public method

public IsValid ( ) : bool
return bool

MemoryPressureDetected() public static method

public static MemoryPressureDetected ( ) : void
return void

PushInputReader() public method

public PushInputReader ( LLDB reader ) : void
reader LLDB
return void

RestoreInputTerminalState() public method

public RestoreInputTerminalState ( ) : void
return void

RunCommandInterpreter() public method

public RunCommandInterpreter ( bool auto_handle_events, bool spawn_thread ) : void
auto_handle_events bool
spawn_thread bool
return void

RunCommandInterpreter() public method

public RunCommandInterpreter ( bool auto_handle_events, bool spawn_thread, LLDB options, int &num_errors, bool &quit_requested, bool &stopped_for_crash ) : void
auto_handle_events bool
spawn_thread bool
options LLDB
num_errors int
quit_requested bool
stopped_for_crash bool
return void

RunREPL() public method

public RunREPL ( LLDB language, string repl_options ) : LLDB.Error
language LLDB
repl_options string
return LLDB.Error

SaveInputTerminalState() public method

public SaveInputTerminalState ( ) : void
return void

SetCurrentPlatform() public method

public SetCurrentPlatform ( string platform_name ) : LLDB.Error
platform_name string
return LLDB.Error

SetCurrentPlatformSDKRoot() public method

public SetCurrentPlatformSDKRoot ( string sysroot ) : bool
sysroot string
return bool

SetDefaultArchitecture() public static method

public static SetDefaultArchitecture ( string arch_name ) : bool
arch_name string
return bool

SetErrorFileHandle() public method

public SetErrorFileHandle ( global f, bool transfer_ownership ) : void
f global
transfer_ownership bool
return void

SetInputFileHandle() public method

public SetInputFileHandle ( global f, bool transfer_ownership ) : void
f global
transfer_ownership bool
return void

SetInternalVariable() public static method

public static SetInternalVariable ( string var_name, string value, string debugger_instance_name ) : LLDB.Error
var_name string
value string
debugger_instance_name string
return LLDB.Error

SetLoggingCallback() public method

public SetLoggingCallback ( LLDB log_callback, global baton ) : void
log_callback LLDB
baton global
return void

SetOutputFileHandle() public method

public SetOutputFileHandle ( global f, bool transfer_ownership ) : void
f global
transfer_ownership bool
return void

SetUseColor() public method

public SetUseColor ( bool use_color ) : bool
use_color bool
return bool

SetUseExternalEditor() public method

public SetUseExternalEditor ( bool input ) : bool
input bool
return bool

SkipAppInitFiles() public method

public SkipAppInitFiles ( bool b ) : void
b bool
return void

SkipLLDBInitFiles() public method

public SkipLLDBInitFiles ( bool b ) : void
b bool
return void

StateAsCString() public static method

public static StateAsCString ( LLDB state ) : string
state LLDB
return string

StateIsRunningState() public static method

public static StateIsRunningState ( LLDB state ) : bool
state LLDB
return bool

StateIsStoppedState() public static method

public static StateIsStoppedState ( LLDB state ) : bool
state LLDB
return bool

Terminate() public static method

public static Terminate ( ) : void
return void

__CreateInstance() public static method

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

__CreateInstance() public static method

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

Property Details

NativeToManagedMap public_oe static_oe property

public static System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap
return Debugger>.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