Very basic support for watch expressions
You can currently only add them, not remoove them and you have to pass the expression in the function call, but once added the variable breakdown works nicely.
This commit is contained in:
parent
dd17f3f6f6
commit
533b2aa0d5
3 changed files with 56 additions and 5 deletions
|
|
@ -69,6 +69,10 @@ function! vimspector#GoToFrame() abort
|
|||
py3 _vimspector_session.GoToFrame()
|
||||
endfunction
|
||||
|
||||
function! vimspector#AddWatch( expr ) abort
|
||||
py3 _vimspector_session.AddWatch( vim.eval( 'a:expr' ) )
|
||||
endfunction
|
||||
|
||||
" Boilerplate {{{
|
||||
let &cpo=s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue