objective-c - LLDB:对象的类别是什么?

标签 objective-c xcode4 lldb

有没有办法在 LLDB 中找出对象的类,而对象本身由 id 表示。像 isKindOfClass 这样的东西,返回它实际上是什么类,而不仅仅是 id

最佳答案

似乎 po [myObject class] 有效。如果有人有更好的解决方案,请发布。

关于objective-c - LLDB:对象的类别是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10430158/

相关文章:

python - 海湾合作委员会错误 : command 'gcc-4.0' failed with exit status 1

ios - Xcode 4 在异常时中断或使用良好的调用堆栈进行断言并打印异常

ios - 图像 + 捏合手势识别器

objective-c - Objective-C : How to highlight a tableView Cell and keep it highlighted when table is reloaded?

objective-c - 根据内容在 UITableViewCell 中调整 UIWebView 的大小

iphone - xcode 4 保持项目中的文件夹与模拟器同步的奇怪之处。

svn - xcode 4 svn 问题,提交失败并显示 “The operation could not be performed no repositories could be reached.”

c++ - 调试时在lldb中获取类静态成员函数地址 : Interpreter couldn't resolve a value during execution

iphone - 我可以在 XCode 4.3.2 中禁用 "Upgrade debugger from GDB to LLDB"警告吗?

objective-c - 新的 Apple LLVM 4.0 "default synthesize"功能如何运作?