Re: Exposing line/file/function call stack for debugging

2008-01-16 Fir de Conversatie Charles E Campbell Jr
Matt Wozniski wrote: On Jan 16, 2008 3:59 PM, Ben Schmidt wrote: Charles E. Campbell, Jr. wrote: I think it'd be a small thing -- but only Bram knows for sure. I'd like Decho (from my debugging plugin) to be able to report what line/file/function it was called from so I can relate

Re: Exposing line/file/function call stack for debugging

2008-01-16 Fir de Conversatie Ben Schmidt
results in this being printed: function A function A..B function A..B..C So, you can easily make a function yourself returning the callstack, something like: function! CallStack() return split(substitute(expand(sfile), '^\S\+\s', '', ''), '\.\.') endfunction That's cool; I