I ran into the error in the subject when running a python script with "script
myfile.myscript()".
The value addr_t parameter used is 0x01223f68, the following works fine:
(lldb) scr
Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.
>>> e = lldb.SBError()
>>> pt
You passed an error into ReadPointerFromMemory. In the cases where you aren't
getting what you expect, what does that error say?
Jim
> On Sep 16, 2016, at 5:06 PM, Lei Kong via lldb-dev
> wrote:
>
> I ran into the error in the subject when running a python script with "script
> myfile.myscr
https://llvm.org/bugs/show_bug.cgi?id=30423
Bug ID: 30423
Summary: [lldb-mi] -var-assign doesn't evaluate the expression
to assign
Product: lldb
Version: 3.9
Hardware: PC
OS: All
Status: NEW
I tried printing error.descryption, but it didn't work, because when the error
happens, it seems ReadPointerFromMemory never returned to my code.
read from address 01223f68
Traceback (most recent call last):
File "", line 1, in
File "/home/leikong/repo/WindowsFabric/build.prod/tes