views:

171

answers:

0

Hi,

I am using vim debugger for debugging vim scripts [BreakPts].
:BreakPts //will create a new window and populates it with the list of vim functions available/loaded.
We can click Enter on any function name to get the function definition and hit to set a break point on any line.

Now, the question is how to print the source file scope variables (variables with prefix s:) at debugger prompt.

let a:islocal //prints correctly as a: implies argument scope
let s:islocal //displays undefined variable s:islocal even though the variable exists with scope s:

Please let me know if there exists a way to print s: variables at vim debugger prompt as i feel its crucial for debugging.

Thanks in advance,
Naga Kiran