Intermediate iOS Debugging - Part 14: | Ray Wenderlich Videos

Review what you've learned in this section and see what's coming up in Section 3.


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

Hi Jerry,

Thanks for the course, really enjoying it.
I have a problem that I face in lldb with almost every project I work on. Especially happening when I debug my networking layer.

When I po some passed-in parameter to a function or a property, I get lldb error as shown in the attached images.

The difference between the 2 images is that I tried to use the function static and non-static, both shows error while the left variable view shows the properties fine.

Any idea what could be causing the error? and what to do?

// I’ve been searching online for a long time, no luck!

@jerbeers Can you please help with this when you get a chance? Thank you - much appreciated! :]

In some cases, this can be caused by compiler optimization, but I’ve seen it before too and haven’t always found a solution. I usually set a breakpoint at a different place to get the value I need.