对ARM / iOS版处理器的诠释3'等效 [英] Equivalent of 'int 3' on ARM/iOS processors

查看:137
本文介绍了对ARM / iOS版处理器的诠释3'等效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找

__asm__ int 3

为ARM / iOS设备处理器等效于当我调试一物理装置上。难道BKPT?所有我想要做的就是暂停处理器,这样我可以再踩过去或在该点继续执行像我一样用int 3。

for ARM/iOS processors for when I'm debugging on a physical device. Is it BKPT? All I want to do is halt the processor so that I can then step past or continue execution at that point like I can with an int 3.

推荐答案

据该问题的闯入对iPhone调试等价于 ASM(陷阱)。但看到不同的技术答案。

According to an answer for the question Breaking into the debugger on iPhone the equivalent is asm("trap"). But see the other answers for different techniques.

特别是考虑<一个href=\"http://stackoverflow.com/questions/988621/how-to-set-a-conditional-breakpoint-in-x$c$c-based-on-an-object-string-property\">conditional断点这是一种微创方法。

Especially look into conditional breakpoints which is a less invasive method.

这篇关于对ARM / iOS版处理器的诠释3'等效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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