| 348 | } |
| 349 | |
| 350 | void doDebugCommand(void *machine, void *refcon, uint8_t *message, uint16_t messageLength) |
| 351 | { |
| 352 | txMachine* the = machine; |
| 353 | |
| 354 | the->debugNotifyOutstanding = false; |
| 355 | if ((txSocket)NULL == the->connection) |
| 356 | return; |
| 357 | else if ((txSocket)kSerialConnection == the->connection) { |
| 358 | if (!the->debugFragments) |
| 359 | return; |
| 360 | } |
| 361 | else { |
| 362 | if (!the->readers[0]) |
| 363 | return; |
| 364 | } |
| 365 | |
| 366 | fxDebugCommand(the); |
| 367 | if (the->breakOnStartFlag) { |
| 368 | fxBeginHost(the); |
| 369 | fxDebugger(the, (char *)__FILE__, __LINE__); |
| 370 | fxEndHost(the); |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | void fxReceiveLoop(void) |
| 375 | { |
nothing calls this directly
no test coverage detected