73 bool m_logging = True;
77 constructor(*
string filename,
bool appendToLog);
81class VscLoggerAppender :
public LoggerAppenderFile {
93 processEventImpl(
int type,
auto params);
106 const START_LAUNCH = 1;
107 const START_ATTACH = 2;
108 const START_ATTACH_SUSPENDED = 3;
109 const DEBUGVAR_PREFIX =
"$";
112 bool m_running = True;
141 constructor(*Logger::LoggerInterface logger) ;
160 auto resolveValue(
string name, *
string val, hash strings,
auto defVal);
201 string getLoadedSourceName(
string file, *
string source);
206 updateProgramCache(*hash response);
211 setThreadFrame(
int threadId,
int frameId);
216 auto getVariable(
int threadId,
int frameId,
string name);
221 deleteBreakpoints(*hash bkpts);
226 list setBreakpoints(*list bkptRefs);
231 string printValue(
auto value, *hash format);
236 auto vscParseValue(
string val);
241 hash getModule(softint pgmId);
246 hash getSource(hash ls);
257 hash<auto> getCommands();
262 hash vsc_initialize(hash args);
264 nothing vsc_launch(hash args);
266 nothing vsc_attach(hash args);
268 nothing vsc_configurationDone();
272 vsc_pause(hash args);
274 hash vsc_continue(hash args);
278 vsc_stepIn(hash args);
280 vsc_stepOut(hash args);
282 hash vsc_stackTrace(hash args);
284 hash vsc_exceptionInfo(hash args);
286 hash vsc_scopes(hash args);
288 hash vsc_variables(hash args);
290 hash vsc_setVariable(hash args);
292 hash vsc_evaluate(hash args);
294 hash vsc_completions(hash args);
296 hash vsc_setBreakpoints(hash args);
298 hash vsc_setFunctionBreakpoints(hash args);
300 vsc_setExceptionBreakpoints(hash args);
302 hash vsc_modules(hash args);
304 hash vsc_loadedSources();
306 hash vsc_source(hash args);
308 vsc_disconnect(*hash args);
311 hash getCapabilities();
*string defaultProgram
use program name unless not specified in launch/attach command
Definition VscDebugAdapter.qm.dox.h:139
refuseInterrupt(hash event)
refuse interrupt and continue
run()
run processing loop till m_running is True
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, auto payload)
send event for VSC frontend
nothing pushEvent(auto event)
push event from debug server in queue
hash parseVscRequest(string msg)
parse request from VSC frontend
hash m_initializeArgs
initialize command arguments
Definition VscDebugAdapter.qm.dox.h:115
printfImpl(string fmt,...)
implement printing to console
processDebugEvent(hash event)
process event from debugger
int m_currentPgmId
vsc program
Definition VscDebugAdapter.qm.dox.h:133
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:118
Queue m_outputQueue()
queue for VSC Output window
class that can be used for logging
Definition VscDebugAdapter.qm.dox.h:67
the VscDebugAdapter namespace contains all the definitions in the VscDebugAdapter module
Definition VscDebugAdapter.qm.dox.h:65