mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
add --debugger to rl-next list
This commit is contained in:
parent
b4c24a29c6
commit
6031a36208
1 changed files with 13 additions and 0 deletions
|
@ -24,3 +24,16 @@
|
|||
|
||||
Selecting derivation outputs using the attribute selection syntax
|
||||
(e.g. `nixpkgs#glibc.dev`) no longer works.
|
||||
|
||||
* Running nix with the new `--debugger` flag will cause it to start a repl session if
|
||||
there is an exception thrown during eval, or if `builtins.break` is called. From
|
||||
there one can inspect symbol values and evaluate nix expressions. In debug mode
|
||||
the following new repl commands are available:
|
||||
```
|
||||
:env Show env stack
|
||||
:bt Show trace stack
|
||||
:st Show current trace
|
||||
:st <idx> Change to another trace in the stack
|
||||
:c Go until end of program, exception, or builtins.break().
|
||||
:s Go one step
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue