Open albfan opened 8 years ago
tested on https://github.com/vim/vim/issues/2237#issuecomment-341970099
it should work now.
function! Bar(argBar1, argBar2)
let c = 6
return a:argBar1.' '.a:argBar2 ##stop here
endfunction
function! Foo(argFoo1, argFoo2)
let c = 5
let b = Bar(a:argFoo1, a:argFoo2)
echo b.' '.c
endfunction
Stopping on Bar function after let c = 6
breakadd func 2 Bar
executing BPDUp
vim-breakpts fails with:
c: (ERROR): Vim(let):E121: Variable sin definir: a:level in function Foo[2]..Bar[2]..breakpts#ToJson, en la línea 3
but
echo remote_expr('MYSERVER', 'c')
works in any frame
After
remote_send
backtrace level is restarted to topmost so variables from lower level are not avaliable.Maybe a vim editor fix is needed. Investigate