diff options
author | Ben Burdette <bburdette@protonmail.com> | 2022-05-22 21:45:24 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@protonmail.com> | 2022-05-22 21:45:24 -0600 |
commit | 13d02af0799f5d2f7a53825936d587e22edcacb6 (patch) | |
tree | 171eafe55521519d5b821aa7bec083cd2d1aa4ed /src/libexpr/primops.cc | |
parent | 7ccb2700c0401c553631e07aeb49e08f976274a3 (diff) |
remove redundant 'debugMode' flag
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
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"), |