llvm-project/lldb/utils/lui
Jonas Devlieghere 93f505942c [Utils] Add back utils directory
Due to a bug my earlier commit removed the whole utils directory:
https://reviews.llvm.org/D65123

llvm-svn: 366830
2019-07-23 17:47:08 +00:00
..
Readme [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
breakwin.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
commandwin.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
cui.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
debuggerdriver.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
eventwin.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
lldbutil.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
lui.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
sandbox.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
sourcewin.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00
statuswin.py [Utils] Add back utils directory 2019-07-23 17:47:08 +00:00

Readme

LLDB (Terminal) User Interface
------------------------------

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:

$ export PYTHONPATH=/path/to/lldb/module

Then, run the lui.py. To load a core file:
$ ./lui.py --core core

To create a target from an executable:
$ ./lui.py /bin/echo "hello world"

To attach to a running process:
$ ./lui.py --attach <pid>


Known Issues
------------
1. Resizing the terminal will most likely cause lui to crash.
2. Missing paging in command-window
3. Only minimal testing (on Ubuntu Linux x86_64)

Missing Features
----------------
- stdin/stdout/stderr windows
- memory window
- backtrace window
- threads window
- tab-completion
- syntax-highlighting (via pygments library)
- (local) variables window
- registers window
- disassembly window
- custom layout