> I have been trying to find a simple way to do error checking on > the device. I tried to use the functions in the error > manager(ErrNonFatalDisplayIf()) to just simply output a msg to > tell me where the program is. They simply dont work.
Yup, they don't. I remember having read somewhere that they are essentially just macros that compile to nothing in the release version - i.e., they work only in the debug version; possibly only under the simulator/emulator. The documentation says something about defining ERROR_CHECK_LEVEL to 2 when compiling your code - you might want to try that. Debugging on the real device is a bitch. And, no, I haven't done it. But can't you use FrmAlert or FrmCustomAlert to display the debug messages you want? If the user interface is not available, you could write directly to the screen; I've written a small function for that; I have posted it here earlier; search for "DisplayString". > It doesnt lock up on the simulator, but it does on the device. This is an unpleasant one... It is not supposed to happen. Is the contents of the simulator the same as that of the real device? If not, try making them the same - maybe the problem will start appearing under the simulator too. Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
