hanchenye-llvm-project/lldb/utils/lui
Serge Guelton 3a22c3cc2b Python 2/3 compat: StringIO
Differential Revision: https://reviews.llvm.org/D59582

llvm-svn: 356910
2019-03-25 15:23:34 +00:00
..
Readme
breakwin.py
commandwin.py
cui.py
debuggerdriver.py
eventwin.py
lldbutil.py Python 2/3 compat: StringIO 2019-03-25 15:23:34 +00:00
lui.py Python 2/3 compat: queue vs Queue 2019-03-25 15:14:56 +00:00
sandbox.py Python 2/3 compat: queue vs Queue 2019-03-25 15:14:56 +00:00
sourcewin.py
statuswin.py

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