Chapter 4 ToDo List Crash
I am at the end of Chapter 4 and testing the ToDo List application with the menus added. Whenever I press the DPAD center button, it crashes with an unexpected termination. During debugging, I find that when the code calls "cancelAdd()" it immediately returns without executing any instructions and then executes the "return true;" instruction immediately following the call to "cancelAdd()". It then leaves the "if" loop and executes the "return false;" statement. And... yes... I know... this shouldn't be possible.
I have double and triple-checked my code against the book, looked at the online errata listings, read the forums and compared my code against the downloadable examples from this site. My code seems to be correct to the best of my ability to determine.
If anyone can point me towards some new things to check or knows what causes this error I would greatly appreciate any help.
Thanks.
Ken
|