XCode调试 - 我可以绕过步进反汇编代码 [英] XCode Debug - Can I bypass stepping through disassembly code

查看:238
本文介绍了XCode调试 - 我可以绕过步进反汇编代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试项目时,在XCode中设置断点后,我将开始逐步执​​行代码,然后我会遇到反汇编的代码,我假设调用了各种没有源代码的框架。 (这是一个正确的假设吗?)是否有一种方法(可能通过我尚未找到的项目设置)来抑制此汇编代码的显示而不必逐步执行但只需逐步通过我的源代码已经实现了吗?

When debugging a project, after setting a breakpoint in XCode I'll start stepping through my code and then I will encounter disassembled code from what I assume are calls to various frameworks that don't have source code available. (Is this a correct assumption?) Is there a way (perhaps via a project setting that I haven't found yet) to suppress the display of this assembly code and not have to step though it but just step though the source code that I have implemented?

我看到我可以点击继续程序执行图标,但我并不认为这是实现这一目标的最佳技巧。在我的开发经验的这个阶段,通过源代码来更好地理解代码执行并能够检查数据值是非常有价值的,但是通过汇编代码踩踏......不是那么多。

I see I can click on the the "continue program execution" icon but I am not positive that this is the best technique to accomplish this. At this stage of my development experience, stepping though the source to better understand code execution and being able to examine data values is very valuable, but stepping though assembly code ... not so much.

我正在使用XCode 4 GM,但我也在XCode 3.x中遇到过这种情况。

I'm using XCode 4 GM but I also encountered this in XCode 3.x.

推荐答案

尝试点击当你在无法访问的代码中时,跳出按钮。

Try clicking the "step out" button when you are in code you don't have access to.

这篇关于XCode调试 - 我可以绕过步进反汇编代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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