MCPcopy Create free account
hub / github.com/SoarGroup/Soar / dprint

Function dprint

Core/SoarKernel/src/debug_print.cpp:36–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void dprint(TraceMode mode, const char* format, ...)
37{
38
39 if (!Output_Manager::Get_OM().debug_mode_enabled(mode))
40 {
41 return;
42 }
43
44 va_list args;
45 char buf[PRINT_BUFSIZE];
46
47 va_start(args, format);
48 vsprintf(buf, format, args);
49 va_end(args);
50
51 dprint_string(mode, buf);
52
53}
54
55void dprint_noprefix(TraceMode mode, const char* format, ...)
56{

Callers

nothing calls this directly

Calls 3

Get_OMFunction · 0.85
dprint_stringFunction · 0.85
debug_mode_enabledMethod · 0.80

Tested by

no test coverage detected