In emacs there is a handy way to launch the gdb and gui options for gdb, the C debugger.
Is there a similar option in gvim?
In emacs there is a handy way to launch the gdb and gui options for gdb, the C debugger.
Is there a similar option in gvim?
I don't think there is. I use different windows.
The only thing I can think of is
!gdb blah blah blah
but that may not be what you are looking for. It tends to be used to generate batch text that gets plugged back into the file you are editing.
Hope this helps.
Have a look at the Vim script search. I see at least 5 plugins that do what you want.
There's a project called cgdb which aims to provide this exact behavior. While it doesn't launch from vim the way emacs does, it provides vim like keybindings and behavior. Its features include a separate syntax highlighted source window which is kept up-to-date with the currently executing instruction.
Perhaps Agide is what you are looking for: http://www.a-a-p.org/ It's some kind of an open framework for using vim and gdb like an IDE.