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

Function debug_value

src/simulate/debug_print.cpp:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 string debug_value ( const void * pX, TypeInfo * info, PrintFlags flags ) {
38 TextWriter ss;
39 DebugDataWalker<TextWriter> walker(ss,flags);
40 // walker do not modify pX!
41 walker.walk((char*)pX,info);
42 if ( int(flags) & int(PrintFlags::namesAndDimensions) ) {
43 return human_readable_formatting(ss.str());
44 } else {
45 return ss.str();
46 }
47 }
48
49 string debug_value ( vec4f value, TypeInfo * info, PrintFlags flags ) {
50 TextWriter ss;

Callers 11

das_debugFunction · 0.85
evalMethod · 0.85
beforeTableKeyMethod · 0.85
evalAndFoldStringMethod · 0.85
jit_debugFunction · 0.85
builtin_print_dataFunction · 0.85
builtin_print_data_vFunction · 0.85
builtin_sprintFunction · 0.85
onArgumentMethod · 0.85
onVariableMethod · 0.85
debug_printFunction · 0.85

Calls 3

walkMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected