Matt Stuttard Parker
Matt Stuttard Parker

Reputation: 117

XCode - Finding errors

I'm relatively new to XCode (4.5) and i've ran into some problems with finding an error.

My project has suddenly started throwing out the following error when I attempt a model segue to open a view where I can add an item to a list - this previously was working.

"...-[TestUnit isEqualToString:]: unrecognised selector sent to instance 0x89d4250"

I've had a google around using breakpoints and I've added an "All Exceptions Breakpoint" to my breakpoints list but it's made no difference, my console still isn't terribly helpful to me (in my new eyes), I've no idea where in my project this error is...

I've used NSLog to trace out to the console and the error appears to be occuring within prepareForSegue and I've even commented out every occurence of isEqualToString within the project and the error is still thrown...

Would anyone mind giving me some much needed pointers to get to the bottom of this?

Many thanks,

Matt

Upvotes: 2

Views: 166

Answers (1)

Vicky
Vicky

Reputation: 620

Goto to Xcode -> breakpoint navigator -> add + -> "add exception Breakpoint" -> run project

once exception occur check where is crashed, Print objects reference, it have desire value or not?

Upvotes: 2

Related Questions