Permalink
Browse files

patch 8.1.0100: terminal debugger: error when setting a watch point

Problem:    Terminal debugger: error when setting a watch point.
Solution:   Don't try defining a sign for a watch point.
  • Loading branch information...
brammool committed Jun 23, 2018
1 parent 3c867da commit 6dccc962f3d019f94656e77309aa00af7bffa4c3
Showing with 7 additions and 0 deletions.
  1. +5 −0 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
  2. +2 −0 src/version.c
@@ -863,6 +863,11 @@ endfunc
" Handle setting a breakpoint
" Will update the sign that shows the breakpoint
func s:HandleNewBreakpoint(msg)
if a:msg !~ 'fullname='
" a watch does not have a file name
return
endif
let nr = substitute(a:msg, '.*number="\([0-9]\)*\".*', '\1', '') + 0
if nr == 0
return
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
100,
/**/
99,
/**/

0 comments on commit 6dccc96

Please sign in to comment.