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.

iOS Objective-C Basics (Retired) Fundamentals of C Array

Getting "(lldb)" when run this program

When I run the following program I get the result (IIdb)

int main() {

float numbers_geeks_love[3];
numbers_geeks_love[0] = 3.1415;
numbers_geeks_love[1] = 1.6180;
numbers_geeks_love[2] = 1.1412;

printf("PI %f\n", numbers_geeks_love[1]);
printf("golden ratio %f\n", numbers_geeks_love[2]);

return 0;


1 Answer

Travis Golob
Travis Golob
8,794 Points

That means you have a breakpoint set on a line and it's pausing execution of the program. There should be a highlighted bracket on the left side of the code window that shows you which line it's breaking at.