109 split(list<string> args, reference<list<string>> wrp_args, reference<*string> pgm_name, reference<list<string>> pgm_args);
117 const defaultIndent =
" ";
121 const fcExpandUniqueCmd = 0x02;
122 const fcValidate = 0x04;
123 const fcFallback = 0x08;
124 *
string historyFileName;
134 hash<auto> getCommands();
139 abstract printfImpl(
string fmt);
142 *hash doCommand(hash data,
bool print);
144 showFileNames(*hash fn);
146 showPrograms(hash ph,
bool show_interrupted);
148 string formatBreakpoint(hash b);
150 string formatStatement(hash stmt);
152 showBreakpoints(*list bkpts);
154 string getThreadStackStr(hash lh);
156 showThreadStack(softint tid, list stack);
159 *
string formatSource(*hash src);
160 processGetSource(
string type, list path, list args);
166 auto getContextValue(
string key);
168 setContextValue(
string key,
auto value);
170 hash getStatementValue(list args);
173 hash splitCmd(
string line);
178 string escapeArg(softstring s);
182 string listVariantCmds(hash v);
184 *hash findCmd(list args,
int opts = 0, *reference<int> last_param) { hash result;
186 hash<auto> c = getCommands();
194 list getLineCompletions(
string line);
196 bool processCmdLine(
string line);
198 bool isOneLineArray(list x);
202 printVar(
string name, hash value);
204 printHuman(hash x,
string indent = defaultIndent);
206 printHuman(list x,
string indent = defaultIndent);
208 printHuman(
string x,
string indent = defaultIndent);
209 printHuman(any x,
string indent = defaultIndent);
211 printData(
auto data);
213 int checkProgramId();
217 static softlist enumBreakpointId(
DebugCommandLine dcl, softlist path, softlist args);
219 loadSession(*
string fn);
debug command line class
Definition: DebugCmdLine.qm.dox.h:113
abstract *hash doCommandImpl(hash data)
To be implemented to execute remote (via websocket) or local command (via DebugProgramControl)
Definition: DebugCmdLine.qm.dox.h:69
split(list< string > args, reference< list< string > > wrp_args, reference< *string > pgm_name, reference< list< string > > pgm_args)
Parses input arguments until a standalone argument is found.
constructor(hash options)
create the object with the given GetOpt option hash
the DebugCmdLine namespace contains all the definitions in the DebugCmdLine module
Definition: DebugCmdLine.qm.dox.h:51