Skip to content

Commit

Permalink
patch 8.1.0100: terminal debugger: error when setting a watch point
Browse files Browse the repository at this point in the history
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 6dccc96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
100,
/**/
99,
/**/
Expand Down

0 comments on commit 6dccc96

Please sign in to comment.