xCode debugging error: TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION

I’m not familiar with Xcode, when I was trying to debug my first application, I get this __TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION__ from my stack trace, and of course I got no idea what that means.

Luckily I found¬†this on iphondevsdk forum, basically if you see this message, there’s actually more information’s available, just open up the console by click Run->Console from the menu, and there it is, your highlighted exception and reason.¬†

2008-10-11 23:19:34.551 Test[1718:20b] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:’

Advertisements