Daniel Malea | 4c3261d | 2013-10-09 22:11:30 +0000 | [diff] [blame] | 1 | |
| 2 | LLDB (Terminal) User Interface |
| 3 | ------------------------------ |
| 4 | |
| 5 | This directory contains the curses user interface for LLDB. To use it, ensure Python can find your lldb module. You may have to modify PYTHONPATH for that purpose: |
| 6 | |
| 7 | $ export PYTHONPATH=/path/to/lldb/module |
| 8 | |
| 9 | Then, run the lui.py. To load a core file: |
| 10 | $ ./lui.py --core core |
| 11 | |
| 12 | To create a target from an executable: |
| 13 | $ ./lui.py /bin/echo "hello world" |
| 14 | |
| 15 | To attach to a running process: |
| 16 | $ ./lui.py --attach <pid> |
| 17 | |
| 18 | |
| 19 | Known Issues |
| 20 | ------------ |
| 21 | 1. Resizing the terminal will most likely cause lui to crash. |
| 22 | 2. Missing paging in command-window |
| 23 | 3. Only minimal testing (on Ubuntu Linux x86_64) |
| 24 | |
| 25 | Missing Features |
| 26 | ---------------- |
| 27 | - stdin/stdout/stderr windows |
| 28 | - memory window |
| 29 | - backtrace window |
| 30 | - threads window |
| 31 | - tab-completion |
| 32 | - syntax-highlighting (via pygments library) |
| 33 | - (local) variables window |
| 34 | - registers window |
| 35 | - disassembly window |
| 36 | - custom layout |