Cappuccino cryptic [undefined] errors
i get this kind of error in cappuccino
TypeError: Result of expression '_2b' [undefined] is not an object.
TypeError: Result of expression '_40' [undefined] is not an object.
I can't think of what they could be for as they don't specify a line number.
开发者_JAVA百科any ideas?
Like you mentioned, you should load your application using index-debug.html
while testing. Furthermore you can use Safari's developer tools to break on errors by clicking on the stop sign shaped "pause" button at the bottom of the Javascript debugger. This is helpful if the error message shows up inside of an Objective-J main file and you need to look at the full stack trace to figure it out.
i didn't realise the index-debug.html which will give me better errors.
精彩评论