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


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.