forked from lix-project/lix
repl_characterization: Also verify the stack trace exists
Change-Id: I8b2d8211a24011fae1586a1182d7d0772a039cd7
This commit is contained in:
parent
78513b1fc8
commit
af066af7f3
|
@ -8,6 +8,26 @@ This test ensures that continues don't skip opportunities to enter the debugger.
|
||||||
trace: before inner break
|
trace: before inner break
|
||||||
info: breakpoint reached
|
info: breakpoint reached
|
||||||
|
|
||||||
|
nix-repl> :bt
|
||||||
|
|
||||||
|
0: error: breakpoint reached
|
||||||
|
«none»:0
|
||||||
|
1: while calling a function
|
||||||
|
TEST_DATA/regression_9917.nix:3:5
|
||||||
|
|
||||||
|
2| a = builtins.trace "before inner break" (
|
||||||
|
3| builtins.break { msg = "hello"; }
|
||||||
|
| ^
|
||||||
|
4| );
|
||||||
|
|
||||||
|
2: while calling a function
|
||||||
|
TEST_DATA/regression_9917.nix:2:7
|
||||||
|
|
||||||
|
1| let
|
||||||
|
2| a = builtins.trace "before inner break" (
|
||||||
|
| ^
|
||||||
|
3| builtins.break { msg = "hello"; }
|
||||||
|
|
||||||
nix-repl> :c
|
nix-repl> :c
|
||||||
|
|
||||||
nix-repl> msg
|
nix-repl> msg
|
||||||
|
|
Loading…
Reference in a new issue