MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / DEBUGGER_COMMAND

Function DEBUGGER_COMMAND

source/Debugger.cpp:372–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370#define DEBUGGER_BASE64_ENCODED_SIZE(org_size) ((((org_size)-1)/3+1)*4 +1)
371
372DEBUGGER_COMMAND(Debugger::status)
373{
374 if (aArgCount)
375 return DEBUGGER_E_INVALID_OPTIONS;
376
377 char *status;
378 switch (mInternalState)
379 {
380 case DIS_Starting: status = "starting"; break;
381 case DIS_Break: status = "break"; break;
382 default: status = "running";
383 }
384
385 return mResponseBuf.WriteF(
386 "<response command=\"status\" status=\"%s\" reason=\"ok\" transaction_id=\"%e\"/>"
387 , status, aTransactionId);
388}
389
390DEBUGGER_COMMAND(Debugger::feature_get)
391{

Callers

nothing calls this directly

Calls 15

StringUTF8ToTCharFunction · 0.85
WriteFMethod · 0.80
TerminateAppMethod · 0.80
DepthMethod · 0.80
WriteFileURIMethod · 0.80
GetLocalVarsMethod · 0.80
GlobalVarsMethod · 0.80
SetValueMethod · 0.80
GetStringMethod · 0.80
GetLengthMethod · 0.80
GetAllocLengthMethod · 0.80
DetachBufferMethod · 0.80

Tested by

no test coverage detected