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.


Chris Tapia
Chris Tapia
1,684 Points

So I'm building space cats on the iOS sprite kit course...breakpoint in threading issues

Major help!! So I'm building space cats on the iOS sprite kit course. I reached the transition between scenes stage and I ran the app after building it. It worked fine and then when i clicked for transition change and there was a breakpoint at the SKtransition line. Whats a breakpoint and how do i get rid of so the app works? the sk transition was in the title scene.m file. Thanks!! Please help soon!

2 Answers

Seems like you may have accidentally clicked in the gutter of the Xcode Editor and added a breakpoint.

Breakpoints stop the execution of your code at the line they are set on. Its good for debugging and stepping through your code.

To find out more about breakpoints I would suggest reading this link: https://developer.apple.com/library/ios/recipes/xcode_help-source_editor/Creating,Disabling,andDeletingBreakpoints/Creating,Disabling,andDeletingBreakpoints.html

If you click on that link you will see an image. The Blue arrow is an indication of a set breakpoint. You can disable them simply by clicking on the one you have set, or by clicking and dragging it away to remove it.