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

Function breakOnInstructionsCB

src/drivers/sdl/debugger.cpp:1608–1624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1606}
1607
1608static void breakOnInstructionsCB( GtkToggleButton *togglebutton, debuggerWin_t * dw)
1609{
1610 const char *txt;
1611
1612 break_on_instructions = !break_on_instructions;
1613
1614 txt = gtk_entry_get_text( GTK_ENTRY(dw->brk_instrs_lim_entry) );
1615
1616 //printf("'%s'\n", txt );
1617
1618 if ( isdigit(txt[0]) )
1619 {
1620 break_instructions_limit = strtoul( txt, NULL, 0 );
1621 }
1622
1623 updateAllDebugWindows();
1624}
1625
1626static void
1627breakOnInstructionsLimitCB (GtkEntry *entry,

Callers

nothing calls this directly

Calls 1

updateAllDebugWindowsFunction · 0.85

Tested by

no test coverage detected