117 const defaultIndent =
" ";
121 const fcExpandUniqueCmd = 0x02;
122 const fcValidate = 0x04;
123 const fcFallback = 0x08;
124 *
string historyFileName;
130 constructor(*LoggerInterface logger) ;
134 hash<auto> getCommands();
139 abstract printfImpl(
string fmt, ...);
144 *hash doCommand(hash data,
bool print);
146 showFileNames(*hash<auto> fn);
148 showPrograms(hash ph,
bool show_interrupted);
150 string formatBreakpoint(hash b);
152 string formatStatement(hash stmt);
154 showBreakpoints(*list bkpts);
156 string getThreadStackStr(hash lh);
158 showThreadStack(softint tid, list stack);
161 *
string formatSource(*hash src);
162 processGetSource(
string type, list path, list args);
168 auto getContextValue(
string key);
170 setContextValue(
string key,
auto value);
172 hash getStatementValue(list args);
175 hash splitCmd(
string line);
180 string escapeArg(softstring s);
184 string listVariantCmds(hash v);
186 *hash findCmd(list args,
int opts = 0, *reference<int> last_param) { hash result;
188 hash<auto> c = getCommands();
196 list getLineCompletions(
string line);
198 bool processCmdLine(
string line);
200 bool isOneLineArray(list x);
204 printVar(
string name, hash value);
206 printHuman(hash x,
string indent = defaultIndent);
208 printHuman(list x,
string indent = defaultIndent);
210 printHuman(
string x,
string indent = defaultIndent);
211 printHuman(any x,
string indent = defaultIndent);
213 printData(
auto data);
215 int checkProgramId();
219 static softlist enumBreakpointId(
DebugCommandLine dcl, softlist path, softlist args);
221 loadSession(*
string fn);