MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / CheckForBreakPointHit

Method CheckForBreakPointHit

neo/game/script/Script_Interpreter.cpp:1904–1909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1902}
1903
1904bool idGameEditExt::CheckForBreakPointHit(const idInterpreter* interpreter, const function_t* function1, const function_t* function2, int depth) const
1905{
1906 return ( ( interpreter->GetCurrentFunction ( ) == function1 ||
1907 interpreter->GetCurrentFunction ( ) == function2)&&
1908 ( interpreter->GetCallstackDepth ( ) <= depth) );
1909}
1910
1911bool idGameEditExt::ReturnedFromFunction(const idProgram* program, const idInterpreter* interpreter, int index) const
1912{

Callers 1

CheckBreakpointsMethod · 0.45

Calls 2

GetCurrentFunctionMethod · 0.45
GetCallstackDepthMethod · 0.45

Tested by

no test coverage detected