mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00: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
|
||||
" 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
|
||||
|
Reference in New Issue
Block a user