72 bool m_logging = True;
76 constructor(*
string filename,
bool appendToLog);
86 log2(
int verbosity,
string fmt, *list args);
99 const START_LAUNCH = 1;
100 const START_ATTACH = 2;
101 const START_ATTACH_SUSPENDED = 3;
103 const DEBUGVAR_PREFIX =
"$";
105 bool m_running = True;
152 auto resolveValue(
string name, *
string val, hash strings,
auto defVal);
193 string getLoadedSourceName(
string file, *
string source);
198 updateProgramCache(*hash response);
203 setThreadFrame(
int threadId,
int frameId);
208 auto getVariable(
int threadId,
int frameId,
string name);
213 deleteBreakpoints(*hash bkpts);
218 list setBreakpoints(*list bkptRefs);
223 string printValue(
auto value, *hash format);
228 auto vscParseValue(
string val);
233 hash getModule(softint pgmId);
238 hash getSource(hash ls);
249 hash<auto> getCommands();
254 hash vsc_initialize(hash args);
256 nothing vsc_launch(hash args);
258 nothing vsc_attach(hash args);
260 nothing vsc_configurationDone();
264 vsc_pause(hash args);
266 hash vsc_continue(hash args);
270 vsc_stepIn(hash args);
272 vsc_stepOut(hash args);
274 hash vsc_stackTrace(hash args);
276 hash vsc_exceptionInfo(hash args);
278 hash vsc_scopes(hash args);
280 hash vsc_variables(hash args);
282 hash vsc_setVariable(hash args);
284 hash vsc_evaluate(hash args);
286 hash vsc_completions(hash args);
288 hash vsc_setBreakpoints(hash args);
290 hash vsc_setFunctionBreakpoints(hash args);
292 vsc_setExceptionBreakpoints(hash args);
294 hash vsc_modules(hash args);
296 hash vsc_loadedSources();
298 hash vsc_source(hash args);
300 vsc_disconnect(*hash args);
303 hash getCapabilities();
*string defaultProgram
use program name unless not specified in launch/attach command
Definition: VscDebugAdapter.qm.dox.h:131
refuseInterrupt(hash event)
refuse interrupt and continue
run()
run processing loop till m_running is True
nothing pushEvent(any event)
push event from debug server in queue
detach(hash event)
detach interrupt
execute(string cmd)
execute command (and exit)
Sequence m_sequence(1)
Sequence for events passed to VSC frontend.
Queue m_queue()
queue if incomming events from debug server
*hash doCommand(hash data)
send command to debug server
sendVscEvent(string event, any payload)
send event for VSC frontend
hash parseVscRequest(string msg)
parse request from VSC frontend
printfImpl(string fmt)
implement printing to console
hash m_initializeArgs
initialize command arguments
Definition: VscDebugAdapter.qm.dox.h:108
processDebugEvent(hash event)
process event from debugger
int m_currentPgmId
vsc program
Definition: VscDebugAdapter.qm.dox.h:126
Sequence m_source(1)
Sequence for loaded source reference.
sendVscMessage(hash msg)
send message for VSC frontend
hash m_programState
program stat information
Definition: VscDebugAdapter.qm.dox.h:111
Queue m_outputQueue()
queue for VSC Output window
class that can be used for logging
Definition: VscDebugAdapter.qm.dox.h:66
log2(int verbosity, string fmt, *list args)
implements logging
the VscDebugAdapter namespace contains all the definitions in the VscDebugAdapter module
Definition: VscDebugAdapter.qm.dox.h:63