MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / RemoveBreakpoint

Method RemoveBreakpoint

neo/tools/debugger/DebuggerClient.cpp:514–530  ·  view source on GitHub ↗

================ rvDebuggerClient::RemoveBreakpoint Removes the breakpoint with the given ID from the client and server ================ */

Source from the content-addressed store, hash-verified

512================
513*/
514bool rvDebuggerClient::RemoveBreakpoint ( int bpID )
515{
516 int index;
517
518 for ( index = 0; index < GetBreakpointCount(); index ++ )
519 {
520 if ( mBreakpoints[index]->GetID ( ) == bpID )
521 {
522 SendRemoveBreakpoint ( *mBreakpoints[index] );
523 delete mBreakpoints[index];
524 mBreakpoints.RemoveIndex ( index );
525 return true;
526 }
527 }
528
529 return false;
530}
531
532/*
533================

Callers 3

WndProcMethod · 0.80
ToggleBreakpointMethod · 0.80
HandleActivateMethod · 0.80

Calls 2

GetIDMethod · 0.45
RemoveIndexMethod · 0.45

Tested by

no test coverage detected