[英]Xcode debugger not stop i ipod with IOS 5 Beta
I have 2 devices,iphone with 4.3.1 and ipod with 5.0.我有 2 台设备,4.3.1 的 iPhone 和 5.0 的 iPod。
The problem is that in my iphone the debugger stop in break points, and in ipod the debugger won't stop on break points.问题是在我的 iphone 中,调试器在断点处停止,而在 ipod 中,调试器不会在断点处停止。
Any ideas on why that happens?关于为什么会发生这种情况的任何想法?
I think its the same problem like with iTunes.我认为它与 iTunes 存在相同的问题。 If you use a beta SDK you also need beta iTunes to sync with your device and a beta Xcode.
如果您使用测试版 SDK,您还需要测试版 iTunes 与您的设备同步,以及测试版 Xcode。 Do you have the beta Xcode?
你有测试版 Xcode 吗? Thats because the official Xcode release don't have an iOS 5 debugger.
那是因为官方 Xcode 版本没有 iOS 5 调试器。 Open your Organizer and look if your iPod is listed as a supported debugging device.
打开您的管理器并查看您的 iPod 是否被列为支持的调试设备。
Do you have iOS5 SDK installed as well?您是否也安装了 iOS5 SDK ? Are you testing with that?
你在用那个测试吗? If not, the app won't stop at breakpoints.
如果没有,应用程序不会在断点处停止。 Your XCode version does not have the iOS5 debugger.
您的 XCode 版本没有 iOS5 调试器。
Have you installed the iOS 5 SDK in your Mac?您是否在 Mac 中安装了 iOS 5 SDK? I think that is what you require.
我认为这就是你所需要的。
Also you need to understand that some of the functionalities might still be missing in some of the cases as it is still a BETA version.此外,您需要了解在某些情况下可能仍然缺少某些功能,因为它仍然是 BETA 版本。 It might not be a fully functional version yet.
它可能还不是一个功能齐全的版本。
So either you can try using the iOS 5 SDK in your mac or if you have already tried it then I think you should wait for the final iOS 5 full version to work properly.因此,您可以尝试在您的 Mac 中使用 iOS 5 SDK,或者如果您已经尝试过,那么我认为您应该等待最终的 iOS 5 完整版正常工作。
Also in the below link, they have discussed that some of the functionalities of iOS 5 still doesn't work on iPod.同样在下面的链接中,他们讨论了 iOS 5 的某些功能仍然无法在 iPod 上运行。 So may be Apple is working on it before the final launch.
因此,Apple 可能会在最终发布之前对其进行研究。
http://www.ifans.com/forums/showthread.php?t=344401 http://www.ifans.com/forums/showthread.php?t=344401
You can also try referring to this link:您也可以尝试参考此链接:
iPhone Dev: Xcode debugger does not stop on breakpoints iPhone 开发:Xcode 调试器不会在断点处停止
Not the solution to your problem, but I faced the same problem and solved it using UIAlertViews & NSLogs.不是您的问题的解决方案,但我遇到了同样的问题并使用 UIAlertViews 和 NSLogs 解决了它。 I should also mention that I even installed xcode with iOS 5 SDK beta, even after which the breakpoints won't hit.
我还应该提到,我什至安装了 xcode 和 iOS 5 SDK beta,即使之后断点也不会命中。
It was some issue with the symbols.这是符号的一些问题。 You can create & display a temporary alert view where you want to put the break-point with its message/title being the value that you want to see, or you can log the value.
您可以创建并显示一个临时警报视图,您希望在其中放置断点,其消息/标题是您想要查看的值,或者您可以记录该值。
To debug a device running iOS 5 you will need to install the beta version of XCode, which contains the iOS 5 SDK.要调试运行 iOS 5 的设备,您需要安装 XCode 的 beta 版本,其中包含 iOS 5 ZF260E35ABD6。 Once you register as an apple developer you can download it from developer.apple.com .
注册为苹果开发者后,您可以从developer.apple.com下载它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.