mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
print value in break
This commit is contained in:
parent
412d58f0bb
commit
3ddf864e1b
2 changed files with 7 additions and 2 deletions
|
@ -77,7 +77,8 @@ ref<EvalState> EvalCommand::getEvalState()
|
|||
searchPath, getEvalStore(), getStore());
|
||||
if (startReplOnEvalErrors)
|
||||
debuggerHook = [evalState{ref<EvalState>(evalState)}](const Error * error, const Env & env, const Expr & expr) {
|
||||
std::cout << "\033[2J\033[1;1H";
|
||||
// clear the screen.
|
||||
// std::cout << "\033[2J\033[1;1H";
|
||||
|
||||
if (error)
|
||||
printError("%s\n\n" ANSI_BOLD "Starting REPL to allow you to inspect the current state of the evaluator.\n" ANSI_NORMAL, error->what());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue