Lines Matching full:lldb
2 # Locate and load the lldb python module
7 """ Find and import the lldb modules. This function tries to find the lldb module by:
8 1. Simply by doing "import lldb" in case the system python installation is aware of lldb. If that fails,
9 2. Executes the lldb executable pointed to by the LLDB environment variable (or if unset, the first lldb
10 on PATH") with the -P flag to determine the PYTHONPATH to set. If the lldb executable returns a valid
15 # Try simple 'import lldb', in case of a system-wide install or a pre-configured PYTHONPATH
17 import lldb
22 # Allow overriding default path to lldb executable with the LLDB environment variable
23 lldb_executable = 'lldb'
24 if 'LLDB' in os.environ and os.path.exists(os.environ['LLDB']):
25 lldb_executable = os.environ['LLDB']
27 # Try using builtin module location support ('lldb -P')
33 #lldb -P returned invalid path, probably too old
37 import lldb
40 # Cannot run 'lldb -P' to determine location of lldb python module
43 # Unable to import lldb module from path returned by `lldb -P`
46 # On Mac OS X, use the try the default path to XCode lldb module
48 xcode_python_path = "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/Current/Resources/Python/"
51 import lldb
54 # Unable to import lldb module from default Xcode python path
61 vim.command('redraw | echo "%s"' % " Error loading lldb module; vim-lldb will be disabled. Check LLDB installation or set LLDB environment variable.")