MCPcopy Create free account
hub / github.com/cppla/ServerStatus / dbg_assert_imp

Function dbg_assert_imp

server/src/system.c:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void dbg_assert_imp(const char *filename, int line, int test, const char *msg)
73{
74 if(!test)
75 {
76 dbg_msg("assert", "%s(%d): %s", filename, line, msg);
77 dbg_break();
78 }
79}
80
81void dbg_break()
82{

Callers

nothing calls this directly

Calls 2

dbg_msgFunction · 0.85
dbg_breakFunction · 0.85

Tested by

no test coverage detected