1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 22:01:15 +02:00

printEnvPosChain

This commit is contained in:
Ben Burdette 2021-09-13 11:57:25 -06:00
parent 310c689d31
commit 176911102c
11 changed files with 32193 additions and 4 deletions

View file

@ -109,6 +109,7 @@ ref<EvalState> EvalCommand::getEvalState()
if (startReplOnEvalErrors)
debuggerHook = [evalState{ref<EvalState>(evalState)}](const Error & error, const Env & env) {
printError("%s\n\n" ANSI_BOLD "Starting REPL to allow you to inspect the current state of the evaluator.\n" ANSI_NORMAL, error.what());
// printEnvPosChain(env);
printEnvBindings(env);
auto vm = mapEnvBindings(env);
runRepl(evalState, *vm);