mirror of
https://github.com/NixOS/nix
synced 2025-06-25 23:11: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
|
@ -1044,7 +1044,7 @@ DebugTraceStacker::DebugTraceStacker(EvalState & evalState, DebugTrace t)
|
|||
{
|
||||
evalState.debugTraces.push_front(trace);
|
||||
if (evalState.debugStop && debuggerHook)
|
||||
debuggerHook(nullptr, trace.env, trace.expr);
|
||||
debuggerHook(evalState, nullptr, trace.env, trace.expr);
|
||||
}
|
||||
|
||||
void Value::mkString(std::string_view s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue