| 370 | #define DEBUGGER_BASE64_ENCODED_SIZE(org_size) ((((org_size)-1)/3+1)*4 +1) |
| 371 | |
| 372 | DEBUGGER_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 | |
| 390 | DEBUGGER_COMMAND(Debugger::feature_get) |
| 391 | { |
nothing calls this directly
no test coverage detected