如何在带有断点的xcode4中运行iPhone应用程序? [英] How to run the iphone app in xcode4 with breakpoints?

查看:39
本文介绍了如何在带有断点的xcode4中运行iPhone应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在执行一个应用程序.在那我放了一些断点.但是它们没有被触发,将直接执行程序.我在ios 4.3上使用xcode4.我的设备版本是ios5.所以请告诉我如何解决这个问题一个.仅在设备中会遇到此问题.在模拟器中,它将运行正常.

Iam doing one applciation.In that i put the some breakpoints.But they are not fired,directly program will be executed.Iam using xcode4 with ios 4.3.And my device version is ios5.So please tell me how to solve this one.This problem will be faced in device only.In simulator it will be working fine.

推荐答案

您需要将构建配置设置为调试"模式.当前,您可能处于释放"模式,在该模式下不会触发断点.

You need to set the build configuration to 'Debug' mode. Currently you are probably in the 'Release' mode where breakpoints aren't fired.

这篇关于如何在带有断点的xcode4中运行iPhone应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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