用于 C 的 gvim 和 gdb? [英] gvim and gdb for C?
本文介绍了用于 C 的 gvim 和 gdb?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 emacs 中,有一种方便的方法可以为 gdb(C 调试器)启动 gdb 和 gui 选项.
In emacs there is a handy way to launch the gdb and gui options for gdb, the C debugger.
gvim 中是否有类似的选项?
Is there a similar option in gvim?
推荐答案
有一个名为 cgdb 的项目旨在提供这种确切的行为.虽然它不像 emacs 那样从 vim 启动,但它提供了类似 vim 的键绑定和行为.它的功能包括一个单独的语法高亮源窗口,该窗口与当前执行的指令保持同步.
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.
这篇关于用于 C 的 gvim 和 gdb?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文