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 Build a Self-Destructing Message iPhone App Relating Users in Parse.com Adding Checkmarks When the Table View is Loaded

breakpoint exception debugging-

Hey all,

After following along with this video, my app is throwing a breakpoint exception and I'm not sure how to troubleshoot it. I have gone over and over the video about 4 times, and also downloaded the project files and compared as much code as I could. The app is able to launch, navigate to the friends tab, and load my friends. However once I click the edit button, the breakpoint is thrown. Does anyone have a suggestion of what I can do to diagnose the problem? Thanks!

The breakpoint is throwing at this section of code at the if statement:

if ([self isFriend:user]) {
        cell.accessoryType = UITableViewCellAccessoryCheckmark;
    }
    else {
        cell.accessoryType = UITableViewCellAccessoryNone;
    }

1 Answer

Patrick Serrano
Patrick Serrano
13,834 Points

It sounds like you mistakenly turned on a breakpoint. If you do have one turned on, drag it away to delete it and then try running the code again.

Breakpoint Example