MCPcopy Create free account
hub / github.com/TASEmulators/fceux / winDebuggerLoopStep

Function winDebuggerLoopStep

src/drivers/sdl/debugger.cpp:1673–1692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1671}
1672
1673static void winDebuggerLoopStep(void)
1674{
1675 FCEUD_UpdateInput();
1676
1677 while(gtk_events_pending())
1678 {
1679 gtk_main_iteration_do(FALSE);
1680 }
1681
1682 if ( XBackBuf )
1683 {
1684 BlitScreen(XBackBuf);
1685 }
1686
1687 if ( breakpoint_hit )
1688 {
1689 seekPC_AllDebugWindows();
1690 breakpoint_hit = 0;
1691 }
1692}
1693
1694//this code enters the debugger when a breakpoint was hit
1695void FCEUD_DebugBreakpoint(int bp_num)

Callers 1

FCEUD_DebugBreakpointFunction · 0.85

Calls 3

seekPC_AllDebugWindowsFunction · 0.85
FCEUD_UpdateInputFunction · 0.70
BlitScreenFunction · 0.70

Tested by

no test coverage detected