1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +02:00

remove debug code

This commit is contained in:
Ben Burdette 2021-12-27 18:12:46 -07:00
parent 9760fa8661
commit 4610e02d04
5 changed files with 5 additions and 35 deletions

View file

@ -73,13 +73,13 @@ ref<EvalState> EvalCommand::getEvalState()
debuggerHook = [evalState{ref<EvalState>(evalState)}](const Error & error, const Env & env, const Expr & expr) {
printError("%s\n\n" ANSI_BOLD "Starting REPL to allow you to inspect the current state of the evaluator.\n" ANSI_NORMAL, error.what());
printStaticEnvBindings(expr);
// printStaticEnvBindings(expr);
std::cout << evalState->vCallFlake << std::endl;
// std::cout << evalState->vCallFlake << std::endl;
std::cout << "expr: " << std::endl;
expr.show(std::cout);
std::cout << std::endl;
// std::cout << "expr: " << std::endl;
// expr.show(std::cout);
// std::cout << std::endl;
if (expr.staticenv)
{