Open theidexisted opened 5 years ago
Thanks for reporting; I'll take a look. Off the top of my head, the simplest approach would be to generalize the pattern to something like .* at <file>:<line>$
, but I need to think about this for a bit to confirm that at won't introduce a bug for any of the supported stack traces.
While waiting for me to fix this, feel free to customize unstack by adding the line I mentioned in #35 to your vimrc:
let g:unstack_extractors = unstack#extractors#GetDefaults() + [unstack#extractors#Regex('\v^.* at ([^"]+):([0-9]+)$', '\1', '\2')]
Thanks for reporting; I hope to have this fixed soon by default.
Hi, thanks for this great project, I find a bug when deal gdb call stacks with newline in the middle.
Take this call stack as example:
The frame 9 will be skipped in the result. I tried to fixed by modify the regex expression but failed, seems in the vim regex syntax there are no escaped newline character.