C# Class LLDB.CommandInterpreter

Inheritance: IDisposable
Afficher le fichier Open project: tritao/LLDBSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
NativeToManagedMap CommandInterpreter>.System.Collections.Concurrent.ConcurrentDictionary

Protected Properties

Свойство Type Description
__OriginalVTables void*[]
__PointerAdjustment int
__ownsNativeInstance bool

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
CommandInterpreter ( void native, bool skipVTables = false ) : System
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CommandInterpreter ( CommandInterpreter native, bool skipVTables = false ) : System
__CopyValue ( CommandInterpreter native ) : void*

Method Details

AddCommand() public méthode

public AddCommand ( string name, LLDB impl, string help ) : LLDB.Command
name string
impl LLDB
help string
Résultat LLDB.Command

AddMultiwordCommand() public méthode

public AddMultiwordCommand ( string name, string help ) : LLDB.Command
name string
help string
Résultat LLDB.Command

AliasExists() public méthode

public AliasExists ( string cmd ) : bool
cmd string
Résultat bool

CommandExists() public méthode

public CommandExists ( string cmd ) : bool
cmd string
Résultat bool

CommandInterpreter() public méthode

public CommandInterpreter ( LLDB rhs ) : System
rhs LLDB
Résultat System

CommandInterpreter() protected méthode

protected CommandInterpreter ( void native, bool skipVTables = false ) : System
native void
skipVTables bool
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EventIsCommandInterpreterEvent() public static méthode

public static EventIsCommandInterpreterEvent ( LLDB @event ) : bool
@event LLDB
Résultat bool

GetArgumentDescriptionAsCString() public static méthode

public static GetArgumentDescriptionAsCString ( LLDB arg_type ) : string
arg_type LLDB
Résultat string

GetArgumentTypeAsCString() public static méthode

public static GetArgumentTypeAsCString ( LLDB arg_type ) : string
arg_type LLDB
Résultat string

GetBroadcaster() public méthode

public GetBroadcaster ( ) : LLDB.Broadcaster
Résultat LLDB.Broadcaster

GetDebugger() public méthode

public GetDebugger ( ) : LLDB.Debugger
Résultat LLDB.Debugger

GetIOHandlerControlSequence() public méthode

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 ///
Résultat string

GetProcess() public méthode

public GetProcess ( ) : LLDB.Process
Résultat LLDB.Process

HandleCommand() public méthode

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
Résultat LLDB.ReturnStatus

HandleCommand() public méthode

public HandleCommand ( string command_line, LLDB result, bool add_to_history ) : LLDB.ReturnStatus
command_line string
result LLDB
add_to_history bool
Résultat LLDB.ReturnStatus

HandleCommandsFromFile() public méthode

public HandleCommandsFromFile ( LLDB file, LLDB override_context, LLDB options, LLDB result ) : void
file LLDB
override_context LLDB
options LLDB
result LLDB
Résultat void

HandleCompletion() public méthode

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
Résultat int

HandleCompletion() public méthode

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
Résultat int

HasAliasOptions() public méthode

public HasAliasOptions ( ) : bool
Résultat bool

HasAliases() public méthode

public HasAliases ( ) : bool
Résultat bool

HasCommands() public méthode

public HasCommands ( ) : bool
Résultat bool

IsActive() public méthode

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
Résultat bool

IsValid() public méthode

public IsValid ( ) : bool
Résultat bool

ResolveCommand() public méthode

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
Résultat void

SetCommandOverrideCallback() public méthode

public SetCommandOverrideCallback ( string command_name, LLDB callback, global baton ) : bool
command_name string
callback LLDB
baton global
Résultat bool

SourceInitFileInCurrentWorkingDirectory() public méthode

public SourceInitFileInCurrentWorkingDirectory ( LLDB result ) : void
result LLDB
Résultat void

SourceInitFileInHomeDirectory() public méthode

public SourceInitFileInHomeDirectory ( LLDB result ) : void
result LLDB
Résultat void

__CreateInstance() public static méthode

public static __CreateInstance ( CommandInterpreter native, bool skipVTables = false ) : CommandInterpreter
native CommandInterpreter
skipVTables bool
Résultat CommandInterpreter

__CreateInstance() public static méthode

public static __CreateInstance ( global native, bool skipVTables = false ) : CommandInterpreter
native global
skipVTables bool
Résultat CommandInterpreter

Property Details

NativeToManagedMap public_oe static_oe property

public static System.Collections.Concurrent.ConcurrentDictionary NativeToManagedMap
Résultat CommandInterpreter>.System.Collections.Concurrent.ConcurrentDictionary

__OriginalVTables protected_oe property

protected void*[] __OriginalVTables
Résultat void*[]

__PointerAdjustment protected_oe property

protected int __PointerAdjustment
Résultat int

__ownsNativeInstance protected_oe property

protected bool __ownsNativeInstance
Résultat bool