mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
first whack at passing evalState as an arg to debuggerHook.
This commit is contained in:
parent
86ba0a702c
commit
667074b586
9 changed files with 15 additions and 14 deletions
|
@ -765,7 +765,7 @@ static RegisterPrimOp primop_break({
|
|||
});
|
||||
|
||||
auto & dt = state.debugTraces.front();
|
||||
debuggerHook(&error, dt.env, dt.expr);
|
||||
debuggerHook(state, &error, dt.env, dt.expr);
|
||||
|
||||
if (state.debugQuit) {
|
||||
// If the user elects to quit the repl, throw an exception.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue