diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-11 19:06:26 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-11 19:06:26 +0100 |
commit | c6f9f739d32084923c3031cbf6f581f8c8bf7fd2 (patch) | |
tree | 4f20ee6cbf98f72b164337f14251020ecc07d410 /src/userfunc.c | |
parent | c33ecb291518044f661c5fc10b704fc718321794 (diff) | |
download | vim-git-8.0.1505.tar.gz |
patch 8.0.1505: debugger can't break on a conditionv8.0.1505
Problem: Debugger can't break on a condition. (Charles Campbell)
Solution: Add ":breakadd expr". (Christian Brabandt, closes #859)
Diffstat (limited to 'src/userfunc.c')
-rw-r--r-- | src/userfunc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/userfunc.c b/src/userfunc.c index df72e34a8..58a6b78aa 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -3085,6 +3085,8 @@ ex_call(exarg_T *eap) failed = TRUE; break; } + if (has_watchexpr()) + dbg_check_breakpoint(eap); /* Handle a function returning a Funcref, Dictionary or List. */ if (handle_subscript(&arg, &rettv, !eap->skip, TRUE) == FAIL) |