GDBInterface

Undocumented in source.
class GDBInterface : ConsoleDebuggerInterface , TextCommandTarget {}

Constructors

this
this()
Undocumented in source.

Members

Classes

AddBreakpointRequest
class AddBreakpointRequest
Undocumented in source.
GDBInitRequest
class GDBInitRequest
Undocumented in source.
LocalVariableListRequest
class LocalVariableListRequest
Undocumented in source.
StackListFramesRequest
class StackListFramesRequest
Undocumented in source.
ThreadInfoRequest
class ThreadInfoRequest
Undocumented in source.

Functions

execAbort
void execAbort()
Undocumented in source. Be warned that the author may not have intended to support it.
execContinue
void execContinue()
Undocumented in source. Be warned that the author may not have intended to support it.
execPause
void execPause()
Undocumented in source. Be warned that the author may not have intended to support it.
execRestart
void execRestart()
Undocumented in source. Be warned that the author may not have intended to support it.
execStart
void execStart()
Undocumented in source. Be warned that the author may not have intended to support it.
execStepIn
void execStepIn(ulong threadId)
Undocumented in source. Be warned that the author may not have intended to support it.
execStepOut
void execStepOut(ulong threadId)
Undocumented in source. Be warned that the author may not have intended to support it.
execStepOver
void execStepOver(ulong threadId)
Undocumented in source. Be warned that the author may not have intended to support it.
execStop
void execStop()
Undocumented in source. Be warned that the author may not have intended to support it.
handleExecAsyncMessage
void handleExecAsyncMessage(uint token, string s)
Undocumented in source. Be warned that the author may not have intended to support it.
handleNotifyAsyncMessage
void handleNotifyAsyncMessage(uint token, string s)
Undocumented in source. Be warned that the author may not have intended to support it.
handleResultMessage
void handleResultMessage(uint token, string s)
Undocumented in source. Be warned that the author may not have intended to support it.
handleStatusAsyncMessage
void handleStatusAsyncMessage(uint token, string s)
Undocumented in source. Be warned that the author may not have intended to support it.
handleStreamLineCLI
void handleStreamLineCLI(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
handleStreamLineGDBDebug
void handleStreamLineGDBDebug(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
handleStreamLineProgram
void handleStreamLineProgram(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
initRequestsCompleted
void initRequestsCompleted(bool successful)
Undocumented in source. Be warned that the author may not have intended to support it.
isTerminalActive
bool isTerminalActive()
Undocumented in source. Be warned that the author may not have intended to support it.
killTerminal
void killTerminal()
Undocumented in source. Be warned that the author may not have intended to support it.
onDebuggerIdle
void onDebuggerIdle()
Undocumented in source. Be warned that the author may not have intended to support it.
onDebuggerStdoutLine
void onDebuggerStdoutLine(string gdbLine)
Undocumented in source. Be warned that the author may not have intended to support it.
onDebuggerThreadFinished
void onDebuggerThreadFinished()
Undocumented in source. Be warned that the author may not have intended to support it.
requestDebugContextInfo
void requestDebugContextInfo(ulong threadId, int frame)

request stack trace and local vars for thread and frame

reserveCommandId
int reserveCommandId()
Undocumented in source. Be warned that the author may not have intended to support it.
sendCommand
int sendCommand(string text, int id)
Undocumented in source. Be warned that the author may not have intended to support it.
setBreakpoints
void setBreakpoints(Breakpoint[] breakpoints)

update list of breakpoints

startDebugging
void startDebugging()
Undocumented in source. Be warned that the author may not have intended to support it.
startTerminal
string startTerminal()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
submitInitRequests
void submitInitRequests()
Undocumented in source. Be warned that the author may not have intended to support it.
submitRequest
void submitRequest(GDBRequest[] requests)

submit single request or request chain

submitRequest
int submitRequest(string text, bool forceNoWaitDebuggerReady)

submit simple text command request

updateState
void updateState()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

quotePathIfNeeded
string quotePathIfNeeded(string s)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

USE_INIT_SEQUENCE
bool USE_INIT_SEQUENCE;
Undocumented in source.
_continueRequestId
int _continueRequestId;

start program execution, can be called after program is loaded

_currentState
DebugThreadList _currentState;
Undocumented in source.
_firstIdle
bool _firstIdle;
Undocumented in source.
_pauseRequestId
int _pauseRequestId;

interrupt execution

_requests
GDBRequestList _requests;
Undocumented in source.
_restartRequestId
int _restartRequestId;

restart

_stackListLocalsRequest
int _stackListLocalsRequest;
Undocumented in source.
_startRequestId
int _startRequestId;

start program execution, can be called after program is loaded

_stepInRequestId
int _stepInRequestId;

step in

_stepOutRequestId
int _stepOutRequestId;

step out

_stepOverRequestId
int _stepOverRequestId;

step over

_stopRequestId
int _stopRequestId;

stop program execution

_stoppedThreadId
long _stoppedThreadId;
Undocumented in source.
_threadJoined
bool _threadJoined;
Undocumented in source.
externalTerminalTty
string externalTerminalTty;
Undocumented in source.
terminalPid
Pid terminalPid;
Undocumented in source.

Inherited Members

From ConsoleDebuggerInterface

_debuggerProcess
ExternalProcess _debuggerProcess;
Undocumented in source.
runDebuggerProcess
ExternalProcessState runDebuggerProcess(string executable, string[] args, string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
onDebuggerStdoutLines
bool onDebuggerStdoutLines(string[] lines)

return true to clear lines list

onDebuggerStdoutLine
void onDebuggerStdoutLine(string line)
Undocumented in source. Be warned that the author may not have intended to support it.
sendLine
bool sendLine(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
writeText
void writeText(dstring text)

log lines

From TextCommandTarget

sendCommand
int sendCommand(string text, int commandId)

send command as a text string

reserveCommandId
int reserveCommandId()

reserve next command id

Meta