[Lldb-commits] [PATCH] Vim Frontend for LLDB

Malea, Daniel daniel.malea at intel.com
Fri Feb 8 14:31:46 PST 2013


Hi all,

I recently had a little bit of time to develop a new frontend for LLDB inside the Vim editor. It works on Mac and Linux in both terminal and GUI (MacVim/GVim) flavours. Naturally, Linux support is limited by the bugs we are currently battling.

Main features:
- Access any LLDB CLI command in Vim by typing ":L<command>". Tab-completion works too!
- See source locations for breakpoints and the current PC with vim "marks" and highlights.
- Examine backtraces, locals, disassembly, registers, and breakpoints in dedicated Vim windows.
- See when in-scope variables and registers change by watching for (red) highlights.


Install instructions are included in utils/vim-lldb/README, and are pretty painless as I made the plugin pathogen<https://github.com/tpope/vim-pathogen>-friendly. You just need to create a symlink in your ~/.vim/bundle directory to point to the "vim-lldb" directory this patch creates.

If there's no objections, my intention is to commit this to LLDB trunk in the utils directory. I can also prepare a little blurb for the website with a screenshot<http://postimage.org/image/ih2s30n23/> or two...

If there's any Vim users willing to take the plunge, please let me know how it goes!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vim-lldb.patch
Type: application/octet-stream
Size: 65721 bytes
Desc: vim-lldb.patch
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130208/2ca5ecf6/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130208/2ca5ecf6/attachment.htm>


More information about the lldb-commits mailing list