-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
synopsis: Nested debuggers are no longer supported | ||
prs: 9920 | ||
--- | ||
|
||
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 | ||
``` |