================ rvDebuggerClient::FindBreakpoint Searches for a breakpoint that maches the given filename and linenumber ================ */
| 449 | ================ |
| 450 | */ |
| 451 | rvDebuggerBreakpoint* rvDebuggerClient::FindBreakpoint ( const char* filename, int linenumber ) |
| 452 | { |
| 453 | int i; |
| 454 | |
| 455 | for ( i = 0; i < mBreakpoints.Num(); i ++ ) |
| 456 | { |
| 457 | rvDebuggerBreakpoint* bp = mBreakpoints[i]; |
| 458 | |
| 459 | if ( linenumber == bp->GetLineNumber ( ) && !idStr::Icmp ( bp->GetFilename ( ), filename ) ) |
| 460 | { |
| 461 | return bp; |
| 462 | } |
| 463 | } |
| 464 | |
| 465 | return NULL; |
| 466 | } |
| 467 | |
| 468 | /* |
| 469 | ================ |
no test coverage detected