Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 354 Bytes

lldb snippets.md

File metadata and controls

20 lines (17 loc) · 354 Bytes

Print object (object where we send message to)

$ po $arg1

One-shot breakpoint

$ breakpoint set --one-shot true --name "-[UILabel setText:]"

$ bmessage -[MyViewController viewDidAppear:]

Assign address to variable and print info

$ e CALayer* $a = (CALayer *)0x600002e804a0
$ po $a