| 646 | #ifdef mxDebug |
| 647 | |
| 648 | void modDebugBreak(xsMachine* the, uint8_t stop) |
| 649 | { |
| 650 | if (stop) { |
| 651 | the->DEBUG_LOOP = 1; |
| 652 | fxCollectGarbage(the); |
| 653 | modInstrumentationAdjust(GarbageCollectionCount, -1); |
| 654 | ((modTimerCallback)the->instrumentationCallback)(NULL, &the, sizeof(the)); |
| 655 | } |
| 656 | else { |
| 657 | the->DEBUG_LOOP = 0; |
| 658 | modTimerReschedule(the->instrumentationTimer, 1000, 1000); |
| 659 | } |
| 660 | } |
| 661 | |
| 662 | #endif |
| 663 |
nothing calls this directly
no test coverage detected