@@ -748,7 +748,7 @@ For instance, if the string you are completing is "Test" and the available compl
748
748
749
749
return {" completion" : " Test1" , " mode" : " partial" }
750
750
751
- and then lldb will add the "1" at the curson and advance it after the added string,
751
+ and then lldb will add the "1" at the cursor and advance it after the added string,
752
752
waiting for more completions. But if "Test1" is the only completion, return:
753
753
754
754
.. code-block :: python
@@ -933,7 +933,7 @@ that goal:
933
933
Using the lldb.py module in Python
934
934
----------------------------------
935
935
936
- LLDB has all of its core code build into a shared library which gets used by
936
+ LLDB has all of its core code built into a shared library which gets used by
937
937
the `lldb ` command line application. On macOS this shared library is a
938
938
framework: LLDB.framework and on other unix variants the program is a shared
939
939
library: lldb.so. LLDB also provides an lldb.py module that contains the
@@ -956,7 +956,7 @@ For sh and bash:
956
956
957
957
$ export PYTHONPATH=`lldb -P`
958
958
959
- Alternately , you can append the LLDB Python directory to the sys.path list
959
+ Alternatively , you can append the LLDB Python directory to the sys.path list
960
960
directly in your Python code before importing the lldb module.
961
961
962
962
Now your python scripts are ready to import the lldb module. Below is a python
@@ -1093,11 +1093,11 @@ Writing Target Stop-Hooks in Python
1093
1093
1094
1094
Stop hooks fire whenever the process stops just before control is returned to the
1095
1095
user. Stop hooks can either be a set of lldb command-line commands, or can
1096
- be implemented by a suitably defined Python class. The Python based stop-hooks
1097
- can also be passed as set of -key -value pairs when they are added, and those
1096
+ be implemented by a suitably defined Python class. The Python- based stop-hooks
1097
+ can also be passed as a set of -key -value pairs when they are added, and those
1098
1098
will get packaged up into a SBStructuredData Dictionary and passed to the
1099
1099
constructor of the Python object managing the stop hook. This allows for
1100
- parametrization of the stop hooks.
1100
+ parameterization of the stop hooks.
1101
1101
1102
1102
To add a Python-based stop hook, first define a class with the following methods:
1103
1103
0 commit comments