diff options
author | Ben Burdette <bburdette@protonmail.com> | 2022-05-05 15:34:59 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@protonmail.com> | 2022-05-05 15:34:59 -0600 |
commit | 09fcfee9252920b170e031b397709368a305bbc3 (patch) | |
tree | 2cef32e0a8253d15ad8ab7959c8e4fce0de24034 /src/libexpr | |
parent | ce304d01544c799500bfffe48b7b0e85da888cd6 (diff) |
don't print the 'break' argument
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/primops.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 1871d4b9b..5ee917f19 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -771,12 +771,9 @@ static RegisterPrimOp primop_break({ .fun = [](EvalState & state, const PosIdx pos, Value * * args, Value & v) { if (debuggerHook && !state.debugTraces.empty()) { - PathSet context; - auto s = state.coerceToString(pos, *args[0], context).toOwned(); - auto error = Error(ErrorInfo { .level = lvlInfo, - .msg = hintfmt("breakpoint reached; value was %1%", s), + .msg = hintfmt("breakpoint reached"), .errPos = state.positions[pos], }); |