1 *lldb.txt* A plugin that enables debugging from your favourite editor
3 Author: Daniel Malea <daniel.malea@intel.com>
4 License: Same terms as Vim itself (see |license|)
8 Installing this plugin enables a set of commands in Vim to control the
9 LLDB (http://lldb.llvm.org) debugger.
11 COMMANDS *lldb-commands*
13 The LLDB command interpreter is exposed to Vim's command mode using the
14 ':L' prefix. Tab-completion is available and will cycle through commands.
15 Some commands have modified behaviour in Vim; for example, :Lbreakpoint
16 with no arguments will set a breakpoint at the current cursor, rather than
17 printing the standard help information for the LLDB command 'breakpoint'.
21 In addition to the standard commands available under the LLDB interpreter,
22 there are also commands to display or hide informational debugger panes.
24 Windows can be shown or hidden using the ':Lhide <name>' or ':Lshow <name>'
27 :Lhide [windowname] Hide informational debugger pane named 'windowname'.
30 :Lshow [windowname] Show informational debugger pane named 'windowname'.
32 Possible window name arguments to the Lhide and Lshow commands include:
41 :Lattach <process-name> Attach to a process by name.
44 :Ldetach Detach from the current process.
47 :Ltarget [[create] executable]
48 Create a target with the specified executable. If
49 run with a single argument, that argument is assumed
50 to be a path to the executable to be debugged.
51 Otherwise, all arguments are passed into LLDB's command
55 :Lstart Create a process by executing the current target
56 and wait for LLDB to attach.
59 :Lrun Create a process by executing the current target
60 without waiting for LLDB to attach.
63 :Lcontinue Continue execution of the process until the next
64 breakpoint is hit or the process exits.
67 :Lthread <args> Passes through to LLDB. See :Lhelp thread.
70 :Lstep Step into the current function call.
73 :Lstepin Step into the current function call.
76 :Lstepinst Step one instruction.
79 :Lstepinstover Step one instruction, but skip over jump or call
83 :Lnext Step to the next line.
86 :Lfinish Step out of the current function.
89 :Lbreakpoint [args] When arguments are provided, the lldb breakpoint
90 command is invoked. If no arguments are provided,
91 a breakpoint at the location under the cursor.
96 :Lprint <expr> Aliases to the lldb print and po commands. Cursor
97 :Lpo <expr> word (cursor WORD for LpO) will be used when
98 :LpO <expr> expression omitted.
100 MAPPINGS *lldb-mappings*
102 On Mac OS X (under MacVim) , the following key mappings are available:
104 <Command-B> Insert a breakpoint at the line under cursor
109 Grab the latest version of this plugin (and LLDB sources) with:
110 git clone http://llvm.org/git/lldb
113 http://llvm.org/bugs/enter_bug.cgi?product=lldb
115 vim:tw=78:et:ft=help:norl: