MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / FindFileLineBreakpoint

Method FindFileLineBreakpoint

src/hx/Debugger.cpp:846–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

HandleBreakpointsMethod · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected