Sometimes it show up sometimes it doesn't
I wonder why.
Sometimes it show up sometimes it doesn't
I wonder why.
LLDB appears to be not as good as GDB at showing the correct state of variables - e.g. sometimes, often near the start of methods, LLDB fails to figure out the type of self
and you cannot see the instance variables; whereas GDB with the same code is fine.
There are sometimes other reasons; to do with accessing memory, locks, etc.; that a debugger cannot show you variables.
Whether your particular case is LLDB failing or one of those cases when GDB also would fail I cannot say, but if this is hitting you a lot in a particular project switching to GDB might be worth it for the project.