Re: [lldb-dev] OverflowError: in method 'SBProcess_ReadPointerFromMemory', argument 2 of type 'lldb::addr_t'

2016-09-16 Thread Lei Kong via lldb-dev
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

[lldb-dev] [Bug 30423] New: [lldb-mi] -var-assign doesn't evaluate the expression to assign

2016-09-16 Thread via lldb-dev
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

Re: [lldb-dev] OverflowError: in method 'SBProcess_ReadPointerFromMemory', argument 2 of type 'lldb::addr_t'

2016-09-16 Thread Jim Ingham via lldb-dev
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

[lldb-dev] OverflowError: in method 'SBProcess_ReadPointerFromMemory', argument 2 of type 'lldb::addr_t'

2016-09-16 Thread Lei Kong via lldb-dev
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