vim-vebugger icon indicating copy to clipboard operation
vim-vebugger copied to clipboard

Is it normal for Vebugger to write displayed values twice?

Open wind0204 opened this issue 5 years ago • 3 comments

Please take a look at this screenshot: https://i.imgur.com/ELCwk34.png ( https://imgur.com/a/xLLFn7y )

Vebugger is writing displayed values twice every line. I set the instance of GDB to display values by telling it using command sequences of ":VBGrawWrite display EXPR"

Is it just me doing something wrong?

wind0204 avatar Sep 14 '19 07:09 wind0204

It seems to be GDB's default behavior when I run it in MI mode (-i mi)

idanarye avatar Sep 20 '19 15:09 idanarye

So... many other users who use Vebugger and GDB together do see the same symptom... I think

wind0204 avatar Sep 21 '19 10:09 wind0204

Not that many, because the terminal was never meant for regular usage. :VBGrawWrite and :VBGtoggleTerminalBuffer were meant to give access to debugger functions not (yet?) implemented by Vebugger.

For that reason, BTW, I'm not going to try and "fix" this "bug". The terminal must show exactly what the debugger is emitting. Any interpretation must be done in handlers.

It may be a good idea, though, to add a mechanism for opening filtered "terminals". Such a mechanism will may be a better alternative to your #88, because you'll be able to specify the patterns you want instead of filtering everything else, and because it should be easy to make it run after the MI format processing...

idanarye avatar Sep 21 '19 12:09 idanarye