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