Skip to content

Debugging

Syoyo Fujita edited this page Oct 23, 2025 · 2 revisions

Use loglevel debug(lib user)

Log message with TUSDZ_LOG_D(...) will be printed.

See example usage in examples/tusdcat

Enable detailed debug output(for developer)

Output message with DCOUT macro.

Build with -DTINYUSDZ_DEBUG_PRINT

Set env var TINYUSDZ_ENABLE_DOUT

Example

$ TINYUSDZ_ENABLE_DCOUT=1 tusdcat input.usdc

NOTE

If tinyusdz is being built with production setting, DCOUT macro is disabled at compile time.

Clone this wiki locally