dtutils.debug on darktable lua documentation https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/ Recent content in dtutils.debug on darktable lua documentation Hugo -- gohugo.io en-us details https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/details/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/details/ 🔗NAME dtutils.debug 🔗SYNOPSIS debugging helpers used in developing darktable lua scripts 🔗USAGE require "lib/dtutils.debug" 🔗DESCRIPTION dtutils.debug provides an interface to the darktable debugging routines. 🔗RETURN VALUE dd - library - the darktable lua debugging helpers 🔗FUNCTIONS 🔗dprint pass a variable to darktable.debug.dump and print the results to stdout 🔗new_tracepoint create a function returning a tracepoint 🔗terse_dump set darktable.debug.known to shorten all image dumps to a single line 🔗tracepoint print out a tracepoint and dump the arguments dprint https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/dprint/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/dprint/ 🔗NAME dprint 🔗SYNOPSIS pass a variable to darktable.debug.dump and print the results to stdout 🔗USAGE local dd = require "lib/dtutils.debug" dd.dprint(var) var - variable - any variable that you want to see the contents of 🔗DESCRIPTION dprint is a wrapper around darktable.debug.dump, will directly print to stdout, same calling convention new_tracepoint https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/new_tracepoint/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/new_tracepoint/ 🔗NAME new_tracepoint 🔗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 terse_dump https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/terse_dump/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/terse_dump/ 🔗NAME terse_dump 🔗SYNOPSIS set darktable.debug.known to shorten all image dumps to a single line 🔗USAGE local dd = require "lib/dtutils.debug" dd.terse_dump() 🔗DESCRIPTION terse_dump sets darktable.debug.known to shorten all images to a single line. If you don’t need to debug the content of images, this will avoid them flooding your logs. tracepoint https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/tracepoint/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.api.manual/dtutils.debug/tracepoint/ 🔗NAME tracepoint 🔗SYNOPSIS print out a tracepoint and dump the arguments 🔗USAGE local dd = require "lib/dtutils.debug" local result = dd.tracepoint(name, ...) name - string - the name of the tracepoint to print out … - arguments - variables to dump the contents of 🔗DESCRIPTION tracepoint prints its name and dumps its parameters using darktable.debug. 🔗RETURN VALUE result - … - the supplied argument list