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

Is it normal for Vebugger to write displayed values twice? #89

Open
wind0204 opened this issue Sep 14, 2019 · 3 comments
Open

Is it normal for Vebugger to write displayed values twice? #89

wind0204 opened this issue Sep 14, 2019 · 3 comments

Comments

@wind0204
Copy link

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?

@idanarye
Copy link
Owner

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

@wind0204
Copy link
Author

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

@idanarye
Copy link
Owner

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...

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

2 participants