Mercurial > vim
view src/testdir/test_eval_stuff.vim @ 13262:69278c25429d v8.0.1505
patch 8.0.1505: debugger can't break on a condition
commit https://github.com/vim/vim/commit/c6f9f739d32084923c3031cbf6f581f8c8bf7fd2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 11 19:06:26 2018 +0100
patch 8.0.1505: debugger can't break on a condition
Problem: Debugger can't break on a condition. (Charles Campbell)
Solution: Add ":breakadd expr". (Christian Brabandt, closes https://github.com/vim/vim/issues/859)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 11 Feb 2018 19:15:05 +0100 |
parents | 30f9a62f5f51 |
children | 530943a23d3f |
line wrap: on
line source
" Tests for various eval things. function s:foo() abort try return [] == 0 catch return 1 endtry endfunction func Test_catch_return_with_error() call assert_equal(1, s:foo()) endfunc