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

Jason Molenda jmolenda at apple.com
Fri Feb 8 18:28:35 PST 2013

That crazy cool.  I learned vi a couple decades ago and when I was finally forced to use vim because I was tired of dragging nvi along, I just turned off all the modern features I could manage to and use it like traditional vi.  So I'm having using this but it was pretty easy to get up & running.  I'll definitely play around with it some more.  Off-hand, the only problem I see is that the output to each command I use ('Ldisass -n main') is lost after I press return to end that command -- there isn't a proper console window with commands and output in it.

I noticed that having 'set compatible' in my ~/.vimrc caused there to be errors in the python vim file.

Please do add this to the repository when you have a chance.  You might finally force me use vim like vim instead of like the vi I learned in the 80's. :)


On Feb 8, 2013, at 2:31 PM, "Malea, Daniel" <daniel.malea at intel.com> wrote:

> 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!
> <vim-lldb.patch>
> All the best,
> Dan
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

More information about the lldb-commits mailing list