mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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.
This commit is contained in:
@@ -863,6 +863,11 @@ endfunc
|
|||||||
" Handle setting a breakpoint
|
" Handle setting a breakpoint
|
||||||
" Will update the sign that shows the breakpoint
|
" Will update the sign that shows the breakpoint
|
||||||
func s:HandleNewBreakpoint(msg)
|
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
|
let nr = substitute(a:msg, '.*number="\([0-9]\)*\".*', '\1', '') + 0
|
||||||
if nr == 0
|
if nr == 0
|
||||||
return
|
return
|
||||||
|
@@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
100,
|
||||||
/**/
|
/**/
|
||||||
99,
|
99,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user