>Does anyone have any hints on debugging a beam receive?

Try compiling in a DbgBreak() call when handling the beam receive launch code.
Remember at this point the entire beam has been received and stored in a file
stream awaiting the app.  At this point, the IR work is done (and the serial
port free), and the app's work is about to begin.

At the DbgBreak(), the app can halt, attach with PalmDebugger, and then start
stepping.  Or sprinkling lot's of "if (foo == 1234) DbgBreak();" can sometimes
be faster.


-Roger Flores



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

Reply via email to