mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Add documentation, rename to debugger-on-trace
This commit is contained in:
parent
4440eb54e7
commit
b111fba8cd
3 changed files with 17 additions and 4 deletions
|
@ -1010,6 +1010,12 @@ static RegisterPrimOp primop_trace({
|
|||
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`](@docroot@/command-ref/conf-file.md#conf-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`](@docroot@/language/builtins.md#builtins-break)).
|
||||
)",
|
||||
.fun = prim_trace,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue