forked from lix-project/lix
jade
272db8af1b
This does not add missing release notes, and it doesn't do anything
about the profiles feature we would really like to have so we can have
consistent credit.
Change-Id: I72a6f7acfcff85f380be17dac76501a6f4693776
35 lines
658 B
Markdown
35 lines
658 B
Markdown
---
|
|
synopsis: Nested debuggers are no longer supported
|
|
prs: 9920
|
|
credits: 9999years
|
|
category: Improvements
|
|
---
|
|
|
|
Previously, evaluating an expression that throws an error in the debugger would
|
|
enter a second, nested debugger:
|
|
|
|
```
|
|
nix-repl> builtins.throw "what"
|
|
error: what
|
|
|
|
|
|
Starting REPL to allow you to inspect the current state of the evaluator.
|
|
|
|
Welcome to Nix 2.18.1. Type :? for help.
|
|
|
|
nix-repl>
|
|
```
|
|
|
|
Now, it just prints the error message like `nix repl`:
|
|
|
|
```
|
|
nix-repl> builtins.throw "what"
|
|
error:
|
|
… while calling the 'throw' builtin
|
|
at «string»:1:1:
|
|
1| builtins.throw "what"
|
|
| ^
|
|
|
|
error: what
|
|
```
|