| 743 | } |
| 744 | |
| 745 | void doDebugCommand(void *machine, void *refcon, uint8_t *message, uint16_t messageLength) |
| 746 | { |
| 747 | txMachine* the = machine; |
| 748 | |
| 749 | the->debugNotifyOutstanding = false; |
| 750 | if (NULL == the->connection) |
| 751 | return; |
| 752 | else if (kSerialConnection == the->connection) { |
| 753 | if (!the->debugFragments) |
| 754 | return; |
| 755 | } |
| 756 | else { |
| 757 | if (!the->readers[0]) |
| 758 | return; |
| 759 | } |
| 760 | |
| 761 | fxDebugCommand(the); |
| 762 | if (the->breakOnStartFlag) { |
| 763 | fxBeginHost(the); |
| 764 | fxDebugger(the, (char *)__FILE__, __LINE__); |
| 765 | fxEndHost(the); |
| 766 | } |
| 767 | } |
| 768 | |
| 769 | void fxReceiveLoop(void) |
| 770 | { |
nothing calls this directly
no test coverage detected