One of my gremlins keeps crashing at the same event.  However, when I set
breakpoints at an event before the crash and then step through, everything
works fine.  This has been happening consistently with this one gremlin.
Its making debugging it tough.  I'm really having a hard time nailing down
where things are going wrong.

Its a pretty ugly crash, too.  I have a resourec that's a keypad comprised
of a grid of buttons.  Watching the gremlin session at full speed I can see
things start to break down -- the buttons start getting rendered inidivually
(instead of as a grid).  Then dialogs get partially displayed.  Finally, I
get the error:

      MyApp (1.0) just read from memory location 0x8000000020.  This access
      usually indicates that the application is calling a Window Manayger
      function without first establishing a valid DrawWindow.

The part of code I'm getting the error is fairly benign, so I don't think
it's the source of the problem.

I suspect my app is over writing memory somewhere.  I'm going to run
"Minimize..." next to see if the gremlins to hone in on what's causing the
problem.  Are there any suggestions as to what might be causing the error
and/or a way to localize the problem?

Thanks!
Rich


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to