| 844 | } |
| 845 | |
| 846 | int FindFileLineBreakpoint(StackFrame *inFrame) |
| 847 | { |
| 848 | for (int i = 0; i < mBreakpointCount; i++) |
| 849 | { |
| 850 | Breakpoint &breakpoint = mBreakpoints[i]; |
| 851 | if (breakpoint.isFileLine && |
| 852 | #ifdef HXCPP_DEBUG_HASHES |
| 853 | breakpoint.hash==inFrame->position->fileHash && |
| 854 | #endif |
| 855 | (breakpoint.lineNumber == inFrame->lineNumber) && |
| 856 | !strcmp(breakpoint.fileOrClassName.c_str(),inFrame->position->fileName) ) |
| 857 | return breakpoint.number; |
| 858 | } |
| 859 | return -1; |
| 860 | } |
| 861 | |
| 862 | int FindClassFunctionBreakpoint(StackFrame *inFrame) |
| 863 | { |
no test coverage detected