这个错误在xcode调试器窗口中意味着什么?

时间:2009-05-28 16:38:15

标签: iphone xcode

[Session started at 2009-05-28 22:36:25 +0600.]
2009-05-28 22:36:29.400 FlashCards[4440:20b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UITableViewController loadView] loaded the "indexView" nib but didn't get a UITableView.'
2009-05-28 22:36:29.407 FlashCards[4440:20b] Stack: (
    2517688651,
    2422246971,
    2517688107,
    2517688170,
    818121900,
    816648934,
    816688492,
    816684429,
    816681688,
    817870076,
    837317240,
    837317032,
    837315376,
    837314643,
    2517182914,
    2517189668,
    2517191928,
    829005112,
    829005309,
    816175835,
    816221412,
    9384,
    9238
)

2 个答案:

答案 0 :(得分:4)

这意味着你有一个UITableViewController,但它的视图实际上不是UITableView。这件事有一天。检查接口构建器中控制器的类。

答案 1 :(得分:0)

你可以在gdb中做到

info symbol 9384

关于cocoawithlove的非常有用的提示:

http://cocoawithlove.com/2008/10/debugging-tips-for-objective-c.html