错误:无法实现struct:无法读取eax [英] error: Couldn't materialize struct: Couldn't read eax

查看:85
本文介绍了错误:无法实现struct:无法读取eax的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了在iOS模拟器上进行调试,我以前可以读出$ eax寄存器并获取错误信息。但是,我不知道它是新的XCode 4.6和iOS 6.1,我不能再这样做了。

For debugging on iOS simulator, I used to be able to read out $eax register and get the error message. However, I don't know if it's the new XCode version 4.6 and iOS 6.1, I can't do that any more.

(lldb) po $eax
error: Couldn't materialize struct: Couldn't read eax (materialize)
Errored out in Execute, couldn't PrepareToExecuteJITExpression

现在是什么?
另外eax不在真实的设备中,我该怎么办?

What now? Also eax is not in the real device, what do I do?

推荐答案

根据此LLDB指南,您可以使用:

register read

检查当前线程的通用寄存器

To examine the general purpose registers of the current thread

这篇关于错误:无法实现struct:无法读取eax的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆