DerekSelander / LLDB

A collection of LLDB aliases/regexes and Python scripts to aid in your debugging sessions
GNU General Public License v2.0
1.77k stars 198 forks source link

Lookup not printing anything.. #25

Closed rustymagnet3000 closed 3 years ago

rustymagnet3000 commented 4 years ago

Hi Derek,

Is something broken in lookup or is this a base class / subclass thing? I am debugging a largely ObjC release app that stripped but it set to debuggable (get-task-allow).

(lldb) lookup MYBaseView
(lldb) lookup MYBaseView -s
(lldb) lookup -x MYBaseView
// nothing printed to stdout

Search...

(lldb) search MYBaseView
// works perfect. prints the pointer references to the Heap objects. 

Strangely, even this fails [ despite the fact I can po the information:

image lookup -n "-[MyClass foobar]"
// nothing printed to stdout

I was using your scripts from the latest Master ( Jan 27, 2020 ) commit. Also:

(lldb) version
lldb-1100.0.30.6
Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)