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

Function EnableBreak

src/drivers/win/debugger.cpp:1222–1231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220}
1221
1222void EnableBreak(int sel)
1223{
1224 if(sel<0) return;
1225 if(sel>=numWPs) return;
1226 watchpoint[sel].flags^=WP_E;
1227 SendDlgItemMessage(hDebug,IDC_DEBUGGER_BP_LIST,LB_DELETESTRING,sel,0);
1228 SendDlgItemMessage(hDebug,IDC_DEBUGGER_BP_LIST,LB_INSERTSTRING,sel,(LPARAM)(LPSTR)BreakToText(sel));
1229 SendDlgItemMessage(hDebug,IDC_DEBUGGER_BP_LIST,LB_SETCURSEL,sel,0);
1230 UpdateBreakpointsCaption();
1231}
1232
1233void DeleteBreak(int sel)
1234{

Callers 1

DebuggerCallBFunction · 0.85

Calls 2

BreakToTextFunction · 0.85
UpdateBreakpointsCaptionFunction · 0.85

Tested by

no test coverage detected