MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / breakPoint

Method breakPoint

src/runtime/context.cpp:993–1003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991 }
992
993 void Context::breakPoint(const LineInfo & at, const char * reason, const char * text) {
994 if ( debugger ) {
995 bool any = false;
996 for_each_debug_agent([&](const DebugAgentPtr & pAgent){
997 pAgent->onBreakpoint(this, at, reason, text);
998 any = true;
999 });
1000 if ( any ) return;
1001 }
1002 os_debug_break();
1003 }
1004
1005 static DAS_THREAD_LOCAL(bool) g_inLogger;
1006

Callers 1

builtin_breakpointFunction · 0.80

Calls 3

for_each_debug_agentFunction · 0.85
os_debug_breakFunction · 0.85
onBreakpointMethod · 0.45

Tested by

no test coverage detected