aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@protonmail.com>2022-05-22 21:45:24 -0600
committerBen Burdette <bburdette@protonmail.com>2022-05-22 21:45:24 -0600
commit13d02af0799f5d2f7a53825936d587e22edcacb6 (patch)
tree171eafe55521519d5b821aa7bec083cd2d1aa4ed /src/libexpr/primops.cc
parent7ccb2700c0401c553631e07aeb49e08f976274a3 (diff)
remove redundant 'debugMode' flag
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 60a70f336..b24d4c68a 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -757,7 +757,7 @@ static RegisterPrimOp primop_break({
)",
.fun = [](EvalState & state, const PosIdx pos, Value * * args, Value & v)
{
- if (state.debugMode && !state.debugTraces.empty()) {
+ if (state.debugRepl && !state.debugTraces.empty()) {
auto error = Error(ErrorInfo {
.level = lvlInfo,
.msg = hintfmt("breakpoint reached"),