tech74
tech74

Reputation: 301

Xcode 4.2 with iOS 5.1 on Snow Leopard - breakpoints not working

I followed the instructions in this post Is it possible to get the iOS 5.1 SDK for Xcode 4.2 on Snow Leopard? to get my iOS 5.1 device working with Xcode 4.2. All is working except my breakpoints are not being hit when debugging. Anyone come across this and know a fix.

Regards

Upvotes: 1

Views: 1992

Answers (3)

Henrik Erlandsson
Henrik Erlandsson

Reputation: 3831

I've used the same installation method you mention to get 5.1 and 6.0.1 SDKs onto Snow Leopard. (Note that just installing the SDKs doesn't include the simulator, so it won't support 5.1+.)

I have Snow Leopard 10.6.8, and breakpoints fire fine, both on my updated phone connected via cable and in the outdated simulator. Should work fine on 10.6.7 also.

I would recommend that you create a new project and set a breakpoint. If that works, you are expecting the other project to reach a breakpoint but it doesn't, either because of the code or an XCode setting.

Upvotes: 0

Brian
Brian

Reputation: 15706

Are breakpoints enabled? Check the button in the toolbar, or Product -> Debug -> Activate Breakpoints. We all overlook simple things sometimes so I'm just checking!

Upvotes: 0

Remz1337
Remz1337

Reputation: 175

maybe not the answer you are looking for but i had problems with ios 5.1 too and i just downloaded the new xcode (4.3.1 i think) and everything works fine, no problem with old project.

Upvotes: 1

Related Questions