C# 클래스 LLDB.CommandInterpreter

상속: IDisposable
파일 보기 프로젝트 열기: tritao/LLDBSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NativeToManagedMap CommandInterpreter>.System.Collections.Concurrent.ConcurrentDictionary

보호된 프로퍼티들

프로퍼티 타입 설명
__OriginalVTables void*[]
__PointerAdjustment int
__ownsNativeInstance bool

공개 메소드들

메소드 설명
AddCommand ( string name, LLDB impl, string help ) : LLDB.Command
AddMultiwordCommand ( string name, string help ) : LLDB.Command
AliasExists ( string cmd ) : bool
CommandExists ( string cmd ) : bool
CommandInterpreter ( LLDB rhs ) : System
Dispose ( ) : void
EventIsCommandInterpreterEvent ( LLDB @event ) : bool
GetArgumentDescriptionAsCString ( LLDB arg_type ) : string
GetArgumentTypeAsCString ( LLDB arg_type ) : string
GetBroadcaster ( ) : LLDB.Broadcaster
GetDebugger ( ) : LLDB.Debugger
GetIOHandlerControlSequence ( sbyte ch ) : string

Get the string that needs to be written to the debugger stdin file

handle when a control character is typed.

Some GUI programs will intercept "control + char" sequences and want

to have them do what normally would happen when using a real

terminal, so this function allows GUI programs to emulate this

functionality.

GetProcess ( ) : LLDB.Process
HandleCommand ( string command_line, LLDB exe_ctx, LLDB result, bool add_to_history ) : LLDB.ReturnStatus
HandleCommand ( string command_line, LLDB result, bool add_to_history ) : LLDB.ReturnStatus
HandleCommandsFromFile ( LLDB file, LLDB override_context, LLDB options, LLDB result ) : void
HandleCompletion ( string current_line, string cursor, string last_char, int match_start_point, int max_return_elements, LLDB matches ) : int
HandleCompletion ( string current_line, uint cursor_pos, int match_start_point, int max_return_elements, LLDB matches ) : int
HasAliasOptions ( ) : bool
HasAliases ( ) : bool
HasCommands ( ) : bool
IsActive ( ) : bool

Return true if the command interpreter is the active IO handler.

This indicates that any input coming into the debugger handles will

go to the command interpreter and will result in LLDB command line

commands being executed.

IsValid ( ) : bool
ResolveCommand ( string command_line, LLDB result ) : void

Resolve the command just as HandleCommand would, expanding abbreviations

and aliases. If successful, result->GetOutput has the full expansion.

SetCommandOverrideCallback ( string command_name, LLDB callback, global baton ) : bool
SourceInitFileInCurrentWorkingDirectory ( LLDB result ) : void
SourceInitFileInHomeDirectory ( LLDB result ) : void
__CreateInstance ( CommandInterpreter native, bool skipVTables = false ) : CommandInterpreter
__CreateInstance ( global native, bool skipVTables = false ) : CommandInterpreter

보호된 메소드들

메소드 설명
CommandInterpreter ( void native, bool skipVTables = false ) : System
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
CommandInterpreter ( CommandInterpreter native, bool skipVTables = false ) : System
__CopyValue ( CommandInterpreter native ) : void*

메소드 상세

AddCommand() 공개 메소드

public AddCommand ( string name, LLDB impl, string help ) : LLDB.Command
name string
impl LLDB
help string
리턴 LLDB.Command

AddMultiwordCommand() 공개 메소드

public AddMultiwordCommand ( string name, string help ) : LLDB.Command
name string
help string
리턴 LLDB.Command

AliasExists() 공개 메소드

public AliasExists ( string cmd ) : bool
cmd string
리턴 bool

CommandExists() 공개 메소드

public CommandExists ( string cmd ) : bool
cmd string
리턴 bool

CommandInterpreter() 공개 메소드

public CommandInterpreter ( LLDB rhs ) : System
rhs LLDB
리턴 System

CommandInterpreter() 보호된 메소드

protected CommandInterpreter ( void native, bool skipVTables = false ) : System
native void
skipVTables bool
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EventIsCommandInterpreterEvent() 공개 정적인 메소드

public static EventIsCommandInterpreterEvent ( LLDB @event ) : bool
@event LLDB
리턴 bool

GetArgumentDescriptionAsCString() 공개 정적인 메소드

public static GetArgumentDescriptionAsCString ( LLDB arg_type ) : string
arg_type LLDB
리턴 string

GetArgumentTypeAsCString() 공개 정적인 메소드

public static GetArgumentTypeAsCString ( LLDB arg_type ) : string
arg_type LLDB
리턴 string

GetBroadcaster() 공개 메소드

public GetBroadcaster ( ) : LLDB.Broadcaster
리턴 LLDB.Broadcaster

GetDebugger() 공개 메소드

public GetDebugger ( ) : LLDB.Debugger
리턴 LLDB.Debugger

GetIOHandlerControlSequence() 공개 메소드

Get the string that needs to be written to the debugger stdin file

handle when a control character is typed.

Some GUI programs will intercept "control + char" sequences and want

to have them do what normally would happen when using a real

terminal, so this function allows GUI programs to emulate this

functionality.

public GetIOHandlerControlSequence ( sbyte ch ) : string
ch sbyte /// The character that was typed along with the control key ///
리턴 string

GetProcess() 공개 메소드

public GetProcess ( ) : LLDB.Process
리턴 LLDB.Process

HandleCommand() 공개 메소드

public HandleCommand ( string command_line, LLDB exe_ctx, LLDB result, bool add_to_history ) : LLDB.ReturnStatus
command_line string
exe_ctx LLDB
result LLDB
add_to_history bool
리턴 LLDB.ReturnStatus

HandleCommand() 공개 메소드

public HandleCommand ( string command_line, LLDB result, bool add_to_history ) : LLDB.ReturnStatus
command_line string
result LLDB
add_to_history bool
리턴 LLDB.ReturnStatus

HandleCommandsFromFile() 공개 메소드

public HandleCommandsFromFile ( LLDB file, LLDB override_context, LLDB options, LLDB result ) : void
file LLDB
override_context LLDB
options LLDB
result LLDB
리턴 void

HandleCompletion() 공개 메소드

public HandleCompletion ( string current_line, string cursor, string last_char, int match_start_point, int max_return_elements, LLDB matches ) : int
current_line string
cursor string
last_char string
match_start_point int
max_return_elements int
matches LLDB
리턴 int

HandleCompletion() 공개 메소드

public HandleCompletion ( string current_line, uint cursor_pos, int match_start_point, int max_return_elements, LLDB matches ) : int
current_line string
cursor_pos uint
match_start_point int
max_return_elements int
matches LLDB
리턴 int

HasAliasOptions() 공개 메소드

public HasAliasOptions ( ) : bool
리턴 bool

HasAliases() 공개 메소드

public HasAliases ( ) : bool
리턴 bool

HasCommands() 공개 메소드

public HasCommands ( ) : bool
리턴 bool

IsActive() 공개 메소드

Return true if the command interpreter is the active IO handler.

This indicates that any input coming into the debugger handles will

go to the command interpreter and will result in LLDB command line

commands being executed.

public IsActive ( ) : bool
리턴 bool

IsValid() 공개 메소드

public IsValid ( ) : bool
리턴 bool

ResolveCommand() 공개 메소드

Resolve the command just as HandleCommand would, expanding abbreviations

and aliases. If successful, result->GetOutput has the full expansion.

public ResolveCommand ( string command_line, LLDB result ) : void
command_line string
result LLDB
리턴 void

SetCommandOverrideCallback() 공개 메소드

public SetCommandOverrideCallback ( string command_name, LLDB callback, global baton ) : bool
command_name string
callback LLDB
baton global
리턴 bool

SourceInitFileInCurrentWorkingDirectory() 공개 메소드

public SourceInitFileInCurrentWorkingDirectory ( LLDB result ) : void
result LLDB
리턴 void

SourceInitFileInHomeDirectory() 공개 메소드

public SourceInitFileInHomeDirectory ( LLDB result ) : void
result LLDB
리턴 void

__CreateInstance() 공개 정적인 메소드

public static __CreateInstance ( CommandInterpreter native, bool skipVTables = false ) : CommandInterpreter
native CommandInterpreter
skipVTables bool
리턴 CommandInterpreter

__CreateInstance() 공개 정적인 메소드

public static __CreateInstance ( global native, bool skipVTables = false ) : CommandInterpreter
native global
skipVTables bool
리턴 CommandInterpreter

프로퍼티 상세

NativeToManagedMap 공개적으로 정적으로 프로퍼티

public static System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap
리턴 CommandInterpreter>.System.Collections.Concurrent.ConcurrentDictionary

__OriginalVTables 보호되어 있는 프로퍼티

protected void*[] __OriginalVTables
리턴 void*[]

__PointerAdjustment 보호되어 있는 프로퍼티

protected int __PointerAdjustment
리턴 int

__ownsNativeInstance 보호되어 있는 프로퍼티

protected bool __ownsNativeInstance
리턴 bool