During discovery, you need to be careful not to consume too much CPU, but
with that caveat, it is possible to log to the screen or to a database. In
the latter case, you can use a separate app to display the log. This kind of
debugging isn't nearly as powerful as a source lever debugger with
breakpoints, but sometimes that's all you can do. If at all possible, use
the higher level features such as IrCOMM or the Exchange Manager. If you do
any complex communication with low level IR library APIs, I recommend
creating your own loopback mode in your code that bypasses the IR library
altogether and just feeds the data back as if it had just been received.
This will let you debug your higher level stuff with all the usual aids, and
all you'll have to debug the hard way is the lower level stuff.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to