71            string sourceSearchPath = 
"";
 
   74            const frameOffset = 2;
 
   78            const DEFAULT_LINES_BEFORE = 3;
 
   80            const DEFAULT_LINES_AFTER = 3;
 
  116         broadcastBreakpoint(hash cx, Breakpoint b, 
string change);
 
  121         Program 
createProgram(
string fileName, *hash opts, list args, *
string script);
 
  133         auto resolveValue(
string name, *
string val, hash strings, 
auto defVal);
 
  138         string encodeValue(
string name, 
auto val, hash strings);
 
  143         int resolveStatement(ProgramControl pgm, *hash value);
 
  148         hash getProgramInfo(ProgramControl p, 
bool listFiles = False, *list threads);
 
  153         hash getBreakpointInfo(Breakpoint b, 
bool listStatements = True);
 
  159         *hash getSourceCodeFromFileOrLabel(ProgramControl pgm, hash stackInfo, 
int linesBefore, 
int linesAfter);
 
  164         *hash getSourceCode(ProgramControl pgmb, 
string type, hash rd);
 
  169         bool isSupportedSourceCodeForLabel();
 
  174         hash<auto> getSourceCodeForLabel(
string name);
 
  178         hash<auto> getSourceCodeFromFile(
string name);
 
  183         *hash serializeLocal(
string name, hash val);
 
  188         *hash serializeLocals(*hash vals);
 
  193         list adjustStack(list stack, *hash ctx);
 
  198         *hash handleInterrupt(
string func, ProgramControl pgm, reference runState, reference runToStatementId, *
int statementId, *
string refName, *reference refValue, *
int breakpointId, *hash except);
 
  202        onAttach(ProgramControl pgm, reference rs, reference runToStatementId);
 
  205        onDetach(ProgramControl pgm, reference rs, reference runToStatementId);
 
  208        onStep(ProgramControl pgm, 
int blockStatementId, *
int statementId, *
int breakpointId, reference flow, reference rs, reference runToStatementId);
 
  212        onStep(ProgramControl pgm, 
int blockStatementId, *
int statementId, reference flow, reference rs, reference runToStatementId);
 
  215        onFunctionEnter(ProgramControl pgm, 
int statementId, reference rs, reference runToStatementId);
 
  218        onFunctionExit(ProgramControl pgm, 
int statementId, reference result, reference rs, reference runToStatementId);
 
  221        onException(ProgramControl pgm, 
int statementId, hash ex, reference dismiss, reference rs, reference runToStatementId);
 
  224        onExit(ProgramControl pgm, 
int statementId, reference result, reference rs, reference runToStatementId);
 
*int runAndDetach(Program pgm)
run and remove program from debugging
 
hash ctxThread
data pool related to suspended thread, key is threadId
Definition: DebugProgramControl.qm.dox.h:61
 
destructor()
resumes any blocked threads and destroys the object
 
list getConnectionIds()
get list of connection ids
 
Program createProgram(string fileName, *hash opts, list args, *string script)
Create new program.
 
Qore::Thread::RWLock rwlConnection()
lock for ctxConnection access
 
registerConnection(hash cx)
register context for new connection
 
constructor(string serverName)
creates the object
 
hash ctxConnection
data pool for data related to cx.id
Definition: DebugProgramControl.qm.dox.h:63
 
connectionRegistered(hash cx)
send welcome message
 
unregisterAllConnections()
unregister all connections
 
shutdown()
resume any blocked threads
 
abstract broadcastDataImpl(auto data)
send data to all clients
 
unregisterConnection(hash cx)
unregister a connection context
 
Qore::Thread::RWLock rwlThread()
lock for ctxThread access
 
abstract sendDataImpl(hash cx, auto data)
send data to particular client
 
*hash processCommand(hash cx, hash receiveData)
process message in debugging thread, if message is related to debugged thread then put it in particul...
 
string serverName
server name
Definition: DebugProgramControl.qm.dox.h:69
 
the DebugProgramControl namespace contains all the definitions in the DebugProgramControl module
Definition: DebugProgramControl.qm.dox.h:54