Intermediate iOS Debugging - Part 19: | Ray Wenderlich Videos

In this challenge, use unsafeBitCast to view properties of objects in the debug memory graph. As a bonus, learn how to create command aliases.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4744-intermediate-ios-debugging/lessons/19

Hi, In the end of this video, you mentioned that we can create a lldbinit file and put it into user’s home directory to let the file to be loaded by LLDB. Actually, I created one in my home directory, named it lldbinit, chmoded it to 755, and restarted Xcode and run it. Unfortunately, it turns out that I don’t get any luck. Would you mind telling me how to make it? Thank you.

The name of the file should be .lldbinit (note the dot at the beginning of the name). You can read more here: https://www.raywenderlich.com/162020/custom-lldb-commands-practice