Added a warning about using the lldb.target, etc. for anything other than convenience when using the
script command. llvm-svn: 170014
This commit is contained in:
parent
eb17816bf4
commit
bd15897f35
|
@ -99,7 +99,11 @@ Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.
|
|||
type, the variable's <b>IsValid</b> method will return false.
|
||||
<p>Note also, these variables hold the values
|
||||
of the selected objects on entry to the embedded interpreter. They do not update as you use the LLDB
|
||||
API's to change, for example, the currently selected stack frame or thread.</p>
|
||||
API's to change, for example, the currently selected stack frame or thread.
|
||||
<p>As a corollary to this, because they get reset every time the script interpreter is entered, you should not
|
||||
use these variables in general purpose python code that you write using the lldb module. After all, lldb can
|
||||
run in a multithreaded environment, and another thread might call the "script" command, changing the value out
|
||||
from under you.</p>
|
||||
These are all global variables contained in the <b>lldb</b> python namespace :</p>
|
||||
<table class="stats" width="620" cellspacing="0">
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue