this code enters the debugger when a breakpoint was hit
| 1693 | |
| 1694 | //this code enters the debugger when a breakpoint was hit |
| 1695 | void FCEUD_DebugBreakpoint(int bp_num) |
| 1696 | { |
| 1697 | //printf("Breakpoint Hit: %i \n", bp_num); |
| 1698 | |
| 1699 | breakpoint_hit = 1; |
| 1700 | |
| 1701 | updateAllDebugWindows(); |
| 1702 | |
| 1703 | winDebuggerLoopStep(); |
| 1704 | |
| 1705 | while(FCEUI_EmulationPaused() && !FCEUI_EmulationFrameStepped()) |
| 1706 | { |
| 1707 | usleep(50000); |
| 1708 | winDebuggerLoopStep(); |
| 1709 | } |
| 1710 | } |
| 1711 | |
| 1712 | void FCEUD_FlushTrace() |
| 1713 | { |
nothing calls this directly
no test coverage detected