> From: Alfred Wallner
> I am trying to learn the event mechanism using the Palm emulator.
> I tried using ErrNonFatalDisplay to see which methods are being called
> etc., but apparently this call doesn't allow me to continue
> normal execution
> in the method even when pressing 'continue' on the popup window.
> Any suggestions how to do debugging ?
>
Are you asking how to display a message while your app is running? If so,
create an alert with ^1^2^3 as the text, then use FrmCustomAlert(AlertId,
"your message", " ", " ") to call it.
If, OTOH, you are asking a general question about how to debug your app,
then perhaps you should set a break point at
EvtGetEvent(&event, evtWaitForever);
in your code and use the CodeWarrior debugger to run your code, looking at
all the events as your program receives them. Don't forget to "Remove
Object Code" and "Reset Project Entry Paths" before you Debug. (Of course,
if you are using gcc, this advice is no help at all. If so, ask again and
maybe one of the gcc users can help you. The debugger is one of the most
useful features of CodeWarrior.)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/