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 trialBeth Knight
4,244 PointsTrouble at "super.viewDidLoad()"
When I tried to run my app, this comes up as an error highlighted in green. It says "Thread 1: breakpoint 1.1" on the super.viewDidLoad(), but no hints on how to resolve it. What have I messed up?
My code...
override func viewDidLoad() { super.viewDidLoad()
aButton.setTitle("Press me!", forState: .Normal)
let playlist = Playlist(index: 0)
playlistImageView0.image = playlist.icon
}
2 Answers
Jayden Spring
8,625 PointsPress CMD + 7 on your keyboard in xCode and then delete all the breakpoints. OR look in the gutter next to you're code and if you see a little blue flag this is a breakpoint, right click delete it or click it to deactivate it.
Beth Knight
4,244 PointsThat worked! Thank you.