Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Nikita Voloboev
4,816 PointsDoes not run, gives 'Thread 1: breakpoint 1.3' error and I don't know why
Here is the error I get when I try to run the programme after following the instructions on the video : http://i.imgur.com/CmDWvg1.png
I really don't know why it does not run and give this issue. Also it doesn't seem to find the 'PageController' class when selection in the inspection window for the view.
Thank you for any help.
4 Answers

Michael Hulet
47,842 PointsIt's not an issue, it's just stopping where you asked it to. Do you see those blue arrows in the sidebar? Those are called "breakpoints", and they'll stop your code when it hits where it is so you can jump in and take a peek at things like what variables have what values. They're super useful for when you're trying to figure out what's going wrong with your app, but you don't want them on when you want your app to just run. You can right click on them and hit either "Delete Breakpoint" or "Disable Breakpoint", and your code shouldn't stop

Michael De La Cruz
10,800 Pointsactually I found the options but i have tried both and i am still getting the same thread issue error

Michael Hulet
47,842 PointsIf it says it's stopping at a breakpoint, that's what it's doing, and you should be able to make it not stop by doing that. Otherwise, it's an actual crash and a different problem

Michael De La Cruz
10,800 PointsAlso when I do delete/disable it, it still takes me to like thread 2 or thread 3 and those can't even be right clicked. Sorry that I cannot provide image of it.

Michael Hulet
47,842 PointsYou can upload a screenshot to a site like postimg.org, then copy the Direct Link it gives you, then come back to Treehouse and paste in that link like this: 

Michael De La Cruz
10,800 PointsHere it is, not sure if the screenshot worked..

Michael De La Cruz
10,800 Pointsthis happens when i right click and disable/delete the breakpoint on view controller..

Michael Hulet
47,842 PointsYou can press ⌘-7
to see all the breakpoints you have set, and from there, you can disable/delete them

Michael De La Cruz
10,800 PointsGot it to work thank you.
Nikita Voloboev
4,816 PointsNikita Voloboev
4,816 PointsHey,
Thank you. I think that should work, can I also ask why does this give an error : http://i.imgur.com/jIDzLzB.png
It is literally the same code that is on the video. :|
Michael Hulet
47,842 PointsMichael Hulet
47,842 PointsJust set the first line of that initializer to
self.page = nil
and call it a dayMichael Hulet
47,842 PointsMichael Hulet
47,842 PointsWhat version of Xcode are you running? If you right click (or click with 2 fingers, if you're on a trackpad), you should see this popup menu: