🔗SYNOPSIS create a function returning a tracepoint
🔗USAGE local dd = require "lib/dtutils.debug" local result = dd.new_tracepoint(name, ...) name - string - the name of the tracepoint to print out
… - arguments - variables to dump the contents of
🔗DESCRIPTION new_tracepoint returns a tracepoint function with the given name. This is mainly used to debug callbacks.
🔗RETURN VALUE result - function - a function that returns the result of a tracepoint</description>
🔗SYNOPSIS set darktable.debug.known to shorten all image dumps to a single line
🔗USAGE local dd = require &quot;lib/dtutils.debug&quot; dd.terse_dump() 🔗DESCRIPTION terse_dump sets darktable.debug.known to shorten all images to a single line. If you don&rsquo;t need to debug the content of images, this will avoid them flooding your logs.</description>
🔗SYNOPSIS print out a tracepoint and dump the arguments
🔗USAGE local dd = require &quot;lib/dtutils.debug&quot; local result = dd.tracepoint(name, ...) name - string - the name of the tracepoint to print out
&hellip; - arguments - variables to dump the contents of
🔗DESCRIPTION tracepoint prints its name and dumps its parameters using darktable.debug.
🔗RETURN VALUE result - &hellip; - the supplied argument list</description>