cyrus-and / gdb-dashboard

Modular visual interface for GDB in Python
MIT License
11.13k stars 782 forks source link

Integrate to VIM? #235

Open leslielg opened 3 years ago

leslielg commented 3 years ago

Any expert can start a project(or already have one?) to integrate this to VIM? So we can have multi window debugger from VIM, it will be consistent, customize-able to use.

gavinhoward commented 3 years ago

Integration with vim is possible without changing any code in gdb-dashboard. You just need some other ubiquitous tools, such as tmux, bash, and tmuxp.

If you would like to learn more, you can read my blog post at https://gavinhoward.com/2020/12/my-development-environment-and-how-i-got-there/ .

Edit: just so it's clear, I am not the author of gdb-dashboard, and neither I, nor my blog post, are endorsed by the author.

leslielg commented 3 years ago

I already have made one by tmux and used for long time: image

But to improve the experience, having an official, long term mantained VIM plugin version looks better option.

gavinhoward commented 3 years ago

Again, speaking for myself, not the author.

I could see a well-supported vim plugin being useful, but I am not sure that it would be best done in this repo. It might be best to do it in a separate repo, specifically for the plugin. Whether cyrus-and wants to do it himself or would prefer to let the gdb-dashboard community do it, I don't know.

Just my 2 cents.

cyrus-and commented 3 years ago

I agree with @gavinhoward (thanks for your post!), this repo is no place for such plugins. As for me implementing such thing, well, nope. But if someone decides to do that, he/she is welcome and can ping me or comment here, I'll do my best to try to help.

gavinhoward commented 3 years ago

@cyrus-and thank you. @leslielg to prevent bothering cyrus-and, you could email me at the address in my profile with ideas about what you want; since I already have a start in my vim config, I might be able to make such a plugin on a day that I get bored.

cyrus-and commented 3 years ago

Feel free to post here updates if you think it's something that others might benefit from.

seanybaggins commented 3 years ago

@leslielg Any chance you can share your configs for your setup?

leslielg commented 3 years ago

@leslielg Any chance you can share your configs for your setup?

here: https://github.com/kthready/gdb_tmux

SirWrexes commented 2 years ago

Bit late to the party but here: I'm using gdb-nvim in conjunction with gdb-dashboard and it works flawlessly ! It's got bonus points for supporting several other debuggers too. The only downside is that it is a NeoVim only plugin. :thinking:

chankim commented 1 year ago

@leslielg Wow, it looks very good. Can you scroll up and down in each window? I'm curious if I can scroll up/down inside the source window and register window.