Trivial support for function breakpoints

You can't see them and you can't disable/cancel them.
This commit is contained in:
Ben Jackson 2018-05-28 19:36:50 +01:00
commit 46cdedc648
2 changed files with 30 additions and 0 deletions

View file

@ -39,6 +39,10 @@ function! vimspector#ToggleBreakpoint() abort
py3 _vimspector_session.ToggleBreakpoint()
endfunction
function! vimspector#AddFunctionBreakpoint( function ) abort
py3 _vimspector_session.AddFunctionBreakpoint( vim.eval( 'a:function' ) )
endfunction
function! vimspector#StepOver() abort
py3 _vimspector_session.StepOver()
endfunction