value#

class lldb.value(sbvalue)#

Wraps SBValue objects so the resulting object can be used as a variable would be in code.

So if you have a Point structure variable in your code in the current frame named “pt”, you can initialize an instance of this class with it:

pt = lldb.value(lldb.frame.FindVariable("pt"))
print pt
print pt.x
print pt.y

pt = lldb.value(lldb.frame.FindVariable("rectangle_array"))
print rectangle_array[12]
print rectangle_array[5].origin.x