MCPcopy Create free account
hub / github.com/crownengine/crown / abort

Function abort

src/core/error/error.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace error
21{
22 static void abort(const char *format, va_list args)
23 {
24 char buf[1024];
25 stbsp_vsnprintf(buf, sizeof(buf), format, args);
26 loge(ERROR, buf);
27 loge(ERROR, "Stacktrace:");
28 debug::callstack(ERROR, LogSeverity::LOG_ERROR);
29 debug::breakpoint();
30 }
31
32 void abort(const char *format, ...)
33 {

Callers 2

fatalMethod · 0.50
mainFunction · 0.50

Calls 2

breakpointFunction · 0.85
callstackFunction · 0.50

Tested by

no test coverage detected