Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Thread 1: Breakpoint 1.1 --> Error

I am frequently getting this error in the below:

  • (IBAction)buttonPressed { int randomHula = arc4random_uniform(self.hula.count); self.predicationLabel.text = [self.hula objectAtIndex:randomHula]; self.predicationLabel.textColor = [UIColor redColor];

The code seems correct.. What i have done wrong?

Couple of things that I hope you guys can help:

  1. What is this Error?
  2. What is the cause of this Error?
  3. What is the error on my script?

TIA

Consider moving this into the iOS section for better results :)

3 Answers

Solved this..

https://teamtreehouse.com/forum/thread-1-breakpoint-11help-in-xcode

but what is this breakpoint?

Thanks @Bryan.. I forgot about that..

No problem. Is this issue with a challenge? If so, could you link to it?

Thanks @Bryan.. I forgot about that..