Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eval variables on lower backtrace level not working #33

Open
albfan opened this issue Mar 30, 2016 · 1 comment
Open

Eval variables on lower backtrace level not working #33

albfan opened this issue Mar 30, 2016 · 1 comment

Comments

@albfan
Copy link
Owner

albfan commented Mar 30, 2016

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

@albfan
Copy link
Owner Author

albfan commented Nov 5, 2017

tested on vim/vim#2237 (comment)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant