| 379 | } |
| 380 | |
| 381 | void doDebugCommand(void *machine, void *refcon, uint8_t *message, uint16_t messageLength) |
| 382 | { |
| 383 | txMachine* the = machine; |
| 384 | |
| 385 | the->debugNotifyOutstanding = false; |
| 386 | if ((txSocket)NULL == the->connection) |
| 387 | return; |
| 388 | else if ((txSocket)kSerialConnection == the->connection) { |
| 389 | if (!the->debugFragments) |
| 390 | return; |
| 391 | } |
| 392 | else { |
| 393 | if (!the->readers[0]) |
| 394 | return; |
| 395 | } |
| 396 | |
| 397 | fxDebugCommand(the); |
| 398 | if (the->breakOnStartFlag) { |
| 399 | fxBeginHost(the); |
| 400 | fxDebugger(the, (char *)__FILE__, __LINE__); |
| 401 | fxEndHost(the); |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | void fxReceiveLoop(void) |
| 406 | { |
nothing calls this directly
no test coverage detected