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 trialColin Hartmann
Courses Plus Student 2,875 PointsWeird return that sometimes happens "(lldb) "
Sometimes, instead of printing the values on the video, the computer returns "(lldb) "
Also, when it does this, whenever I click the "play" button to run it again, a pop-up appears saying this (pop-up is in the "/* */" tokens--this is just for reference, these don't actually appear in the pop-up):
/* Stop “MyFirstCProgram”?
“MyFirstCProgram” is already running. Click Stop to terminate and launch a new instance.
Click Add to launch an additional instance. */
May someone please explain to me the reason for this??? I am fairly new to programming, btw...
3 Answers
Ezequiel Amaya
3,094 PointsA breakpoint in your program is a pause to check variables and logic for debugging purposes. I guess by accident you had set a breakpoint (blue arrow in Amit's picture, click the arrow to disable the checkpoint and then the play button from the debug panel to continue with the execution) Since you program is in a pause, therefore your program is still being executed, and when you hit the ´Play´ button again your are in fact trying to execute a second instance of your program.
Please read the following documentation to learn about how to debug a program.
Also follow the iOS Development track in teamtreehouse.com to learn the basics about Objective-C and Xcode.
Amit Bijlani
Treehouse Guest TeacherDo you have a breakpoint set?
Colin Hartmann
Courses Plus Student 2,875 PointsI'm sorry, I do not comprehend what a "breakpoint set" is...is there a lesson that you could redirect me to where I could find this term?