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

Function das_debug

src/simulate/simulate.cpp:201–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 // SimNode_Debug
200
201 void das_debug ( Context * context, TypeInfo * typeInfo, const char * FILE, int LINE, vec4f res, const char * message ) {
202 TextWriter ssw;
203 if ( message ) ssw << message << " ";
204 ssw << debug_type(typeInfo) << " = " << debug_value(res, typeInfo, PrintFlags::debugger)
205 << " at " << FILE << ":" << LINE << "\n";
206 context->to_out(nullptr, ssw.str().c_str());
207 }
208
209 vec4f SimNode_Debug::eval ( Context & context ) {
210 DAS_PROFILE_NODE

Callers

nothing calls this directly

Calls 5

debug_typeFunction · 0.85
debug_valueFunction · 0.85
to_outMethod · 0.80
c_strMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected