================ rvDebuggerClient::RemoveBreakpoint Removes the breakpoint with the given ID from the client and server ================ */
| 512 | ================ |
| 513 | */ |
| 514 | bool 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 | ================ |
no test coverage detected