Skip to content

πŸ› A vim plugin you can use for setting and deleting lldb breakpoints

License

Notifications You must be signed in to change notification settings

sideshowbarker/lldbvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

This is a plugin for vim 8.1+ and neovim 0.3.6+ that you can use to toggle (set or delete) an lldb breakpoint for the current line from within vim.

Note: This is a fork of https://github.com/epheien/termdbg, with changes that limit it to lldb only.


Install

Requirements: vim 8.1+ (+terminal) or neovim 0.3.6+.

For manual installation:

mkdir -p ~/.vim/pack/lldbvim/start
cd ~/.vim/pack/lldbvim/start
git clone [email protected]:sideshowbarker/lldbvim.git

For vim-plug:

Plug 'sideshowbarker/lldbvim'

Usage

:Lldb

Commands

  • :LToggleBreakpoint – toggle (set or delete) breakpoint at current line
  • :LDeleteAllBreakpoints – delete all breakpoints

Options

" 'lldb_program' is set by default to either 'lldb' or (depending on filetype)
" 'rust-lldb'. To use some lldb program other than those, change the value.
let g:lldb_program = 'some-other-lldb-that-you-use'