| 860 | } |
| 861 | |
| 862 | int FindClassFunctionBreakpoint(StackFrame *inFrame) |
| 863 | { |
| 864 | for (int i = 0; i < mBreakpointCount; i++) |
| 865 | { |
| 866 | Breakpoint &breakpoint = mBreakpoints[i]; |
| 867 | if (!breakpoint.isFileLine && |
| 868 | #ifdef HXCPP_DEBUG_HASHES |
| 869 | breakpoint.hash==inFrame->position->classFuncHash && |
| 870 | #endif |
| 871 | !strcmp(breakpoint.fileOrClassName.c_str(), inFrame->position->className) && |
| 872 | !strcmp(breakpoint.functionName.c_str(), inFrame->position->functionName) ) |
| 873 | return breakpoint.number; |
| 874 | } |
| 875 | return -1; |
| 876 | } |
| 877 | |
| 878 | // Looks up the "interned" version of the name, for faster compares |
| 879 | // when evaluating breakpoints |
no test coverage detected