Owner information at startup and any diary reminder causes my game to crash. The game is built using PocketFrog 0.7.0 which deals with these issues normally.
I have now excluded PocketFrog and Hekkus as possible causes of this problem by testing sample applications which work correctly when notifications happen.
Attempts to test using a pop-up box do not crash the game. Testing in the debugger just leaves me looking at a disassembly of something, not source.
Does anyone have a suggestion on how to debug this or what I could be doing in the game that would interfere with the notifications?
Also, is there any way to tell the OS not to process notifications during gameplay (as an alternative approach)
If your game is time based, can it properly handle frames with a long duration?
Dan East
As far as trying to debug it goes, one thing you may want to try is do a search of the forums for things along the lines of "logging", "monitor".
Posted some time ago was a small little app that you could send logging messages to from your app. If you send a message at the start and end of each function, you can perhaps begin to get closer to where the crash occurs. It's akin to using System.out.println's to debug JSP's (which I do all the time quite sucessfully!), so it's a bit manually-intensive, but it should work.
If you can't find the relevant post, let me know and I'll dig through my archives. If worse comes to worse, you could always try writing out to your own log file, but I think there would wind up being issues with the file system not being quite fast enough, and you'd just cause more crashes. As I recall, this little app buffered things for you, so that's not a concern.
Look on the Pocket PC Developer Network for STLog. It's a very nice logging utility.
That is pretty cool G.R.! But, I'd still have the same concern about filesystem speed causing crashes. The logging utility I'm thinking of I don't think writes a file (at least not by default), so I think that concern is removed.
Ah! Rather than keep telling you about it, here it is! This is what we used working on the PocketHobbit project, worked very well. I also included a small process viewer for PocketPC that may or may not be of any use, but it felt like it might be relevant in some way.
thanks Frank, I will use.
Why does code which has functions to deal with notifications not work? because the code does not have functions to deal with notifications of course!
For months I was thinking that I was using the latest PocketFrog LIB when I was not.

I admit it, I'm a twit (but a happy one)