C# Class AvalonStudio.Debugging.GDB.GDBDebugger

Inheritance: IDebugger
Show file Open project: VitalElement/AvalonStudio

Protected Properties

Property Type Description
asyncModeEnabled bool
console IConsole

Private Properties

Property Type Description
ClearCommand void
ProcessAsynRecord void
ProcessOutput void
ProcessStopRecord void
SendCommand Task
SetCommand Command
WaitForResponse string

Public Methods

Method Description
BreakMainAsync ( ) : Task
CloseAsync ( ) : Task
ContinueAsync ( ) : Task
CreateWatchAsync ( string id, string expression ) : Task
DeleteWatchAsync ( string id ) : Task
DisassembleAsync ( string file, int line, int numLines ) : Task>
DisassembleAsync ( ulong start, uint count ) : Task>
EvaluateExpressionAsync ( string expression ) : Task
GDBDebugger ( ) : System
GetChangedRegistersAsync ( ) : string>>.Task
GetRegistersAsync ( ) : Register>>.Task
GetSettingsControl ( IProject project ) : object
GetVariableId ( ) : int
Initialise ( ) : void
ListChildrenAsync ( VariableObject variable ) : Task>
ListStackFramesAsync ( ) : Task>
ListStackVariablesAsync ( ) : Task>
PauseAsync ( ) : Task
ProvisionSettings ( IProject project ) : void
ReadMemoryBytesAsync ( ulong address, ulong offset, uint count ) : Task>
RemoveAsync ( LiveBreakPoint breakPoint ) : Task
ResetAsync ( bool runAfter ) : Task
RunAsync ( ) : Task

This method is not supported by embedded targets. Use continue instead.

SetBreakPointAsync ( string file, uint line ) : Task
SetWatchFormatAsync ( string id, WatchFormat format ) : Task
StartAsync ( IToolChain toolchain, IConsole console, IProject project ) : Task
StepInstructionAsync ( ) : Task
StepIntoAsync ( ) : Task
StepOutAsync ( ) : Task
StepOverAsync ( ) : Task
StopAsync ( ) : Task
UpdateVariablesAsync ( ) : Task>

Protected Methods

Method Description
SafelyExecuteCommand ( Func commandAction ) : Task
SafelyExecuteCommandAlwaysContinue ( Func commandAction ) : void
SafelyExecuteCommandWithoutResume ( Func commandAction ) : Task

Private Methods

Method Description
ClearCommand ( ) : void
ProcessAsynRecord ( string data ) : void
ProcessOutput ( string data ) : void
ProcessStopRecord ( string data ) : void
SendCommand ( Command command, int timeout ) : Task
SetCommand ( Command command ) : Command
WaitForResponse ( int timeout ) : string

Method Details

BreakMainAsync() public method

public BreakMainAsync ( ) : Task
return Task

CloseAsync() public method

public CloseAsync ( ) : Task
return Task

ContinueAsync() public method

public ContinueAsync ( ) : Task
return Task

CreateWatchAsync() public method

public CreateWatchAsync ( string id, string expression ) : Task
id string
expression string
return Task

DeleteWatchAsync() public method

public DeleteWatchAsync ( string id ) : Task
id string
return Task

DisassembleAsync() public method

public DisassembleAsync ( string file, int line, int numLines ) : Task>
file string
line int
numLines int
return Task>

DisassembleAsync() public method

public DisassembleAsync ( ulong start, uint count ) : Task>
start ulong
count uint
return Task>

EvaluateExpressionAsync() public method

public EvaluateExpressionAsync ( string expression ) : Task
expression string
return Task

GDBDebugger() public method

public GDBDebugger ( ) : System
return System

GetChangedRegistersAsync() public method

public GetChangedRegistersAsync ( ) : string>>.Task
return string>>.Task

GetRegistersAsync() public method

public GetRegistersAsync ( ) : Register>>.Task
return Register>>.Task

GetSettingsControl() public method

public GetSettingsControl ( IProject project ) : object
project IProject
return object

GetVariableId() public method

public GetVariableId ( ) : int
return int

Initialise() public method

public Initialise ( ) : void
return void

ListChildrenAsync() public method

public ListChildrenAsync ( VariableObject variable ) : Task>
variable VariableObject
return Task>

ListStackFramesAsync() public method

public ListStackFramesAsync ( ) : Task>
return Task>

ListStackVariablesAsync() public method

public ListStackVariablesAsync ( ) : Task>
return Task>

PauseAsync() public method

public PauseAsync ( ) : Task
return Task

ProvisionSettings() public method

public ProvisionSettings ( IProject project ) : void
project IProject
return void

ReadMemoryBytesAsync() public method

public ReadMemoryBytesAsync ( ulong address, ulong offset, uint count ) : Task>
address ulong
offset ulong
count uint
return Task>

RemoveAsync() public method

public RemoveAsync ( LiveBreakPoint breakPoint ) : Task
breakPoint LiveBreakPoint
return Task

ResetAsync() public method

public ResetAsync ( bool runAfter ) : Task
runAfter bool
return Task

RunAsync() public method

This method is not supported by embedded targets. Use continue instead.
public RunAsync ( ) : Task
return Task

SafelyExecuteCommand() protected method

protected SafelyExecuteCommand ( Func commandAction ) : Task
commandAction Func
return Task

SafelyExecuteCommandAlwaysContinue() protected method

protected SafelyExecuteCommandAlwaysContinue ( Func commandAction ) : void
commandAction Func
return void

SafelyExecuteCommandWithoutResume() protected method

protected SafelyExecuteCommandWithoutResume ( Func commandAction ) : Task
commandAction Func
return Task

SetBreakPointAsync() public method

public SetBreakPointAsync ( string file, uint line ) : Task
file string
line uint
return Task

SetWatchFormatAsync() public method

public SetWatchFormatAsync ( string id, WatchFormat format ) : Task
id string
format WatchFormat
return Task

StartAsync() public method

public StartAsync ( IToolChain toolchain, IConsole console, IProject project ) : Task
toolchain IToolChain
console IConsole
project IProject
return Task

StepInstructionAsync() public method

public StepInstructionAsync ( ) : Task
return Task

StepIntoAsync() public method

public StepIntoAsync ( ) : Task
return Task

StepOutAsync() public method

public StepOutAsync ( ) : Task
return Task

StepOverAsync() public method

public StepOverAsync ( ) : Task
return Task

StopAsync() public method

public StopAsync ( ) : Task
return Task

UpdateVariablesAsync() public method

public UpdateVariablesAsync ( ) : Task>
return Task>

Property Details

asyncModeEnabled protected property

protected bool asyncModeEnabled
return bool

console protected property

protected IConsole console
return IConsole