First attempt to make breakpoints work. Doesn't. Python at least responds with the breakpoints. MS CPP does not, and native debug just throws an error

This commit is contained in:
Ben Jackson 2018-05-22 23:59:15 +01:00
commit c9a45b3bdc
5 changed files with 71 additions and 14 deletions

View file

@ -19,13 +19,18 @@ let s:save_cpo = &cpo
set cpo&vim
" }}}
" TODO: Test function
function! vimspector#Launch() abort
py3 << EOF
from vimspector import debug_session
_vimspector_session = debug_session.DebugSession()
_vimspector_session.Start()
EOF
" TODO: Test function
function! vimspector#Launch() abort
py3 _vimspector_session.Start()
endfunction
function! vimspector#ToggleBreakpoint() abort
py3 _vimspector_session.ToggleBreakpoint()
endfunction
function! vimspector#StepOver() abort