trace
builtins.trace
Primop
Docs pulled from | This Revision | about 3 hours ago
Takes 2 arguments
e1, e2
Evaluate e1 and print its abstract syntax representation on standard error. Then return e2. This function is useful for debugging.
If the
debugger-on-trace
option is set to true
and the --debugger
flag is given, the
interactive debugger will be started when trace
is called (like
break
).
This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.
Noogle detected
Detected Type
trace :: a -> b -> b
Implementation
This function is implemented in c++ and is part of the native nix runtime.