Upload
davidolesch
View
79
Download
5
Embed Size (px)
Citation preview
iOS UI debugging
📱
NSLog + Recompile
• Objective-C books and classes cover NSLog
• Debugging requires lots of logging and recompiling is slow
Print stuff w/o recompiling
• breakpoints pause execution and invoke the debugger
• use the p command to print values
Custom breakpoints
LLDB without breakpoints
• caflush - Flush the render server
• thread return - Return from the currently selected frame with an optional return value
• wivar - Watch for changes to an instance variable of an object
Recommended Reading
• github.com/facebook/chisel
• (lldb) help
iOS UI debugging
📱