On Tuesday, August 15, 2000 4:46:57 PM, Adam Wozniak wrote:

> Andrew Fischer wrote:
>
>> What is the best way to debug code that uses the ExchangeManager ?
>
> Write good code.
> Use the debugging shortcut for IR / Exchange Manager loopback within POSE.
> Run in POSE.
>
> Note there's no way to debug beaming to a device that is currently NOT running
your
> app.
>

Well, you could create a copy of your app and make a couple of changes to
it:
    Change the creator ID
    Change the application database name
    Not register it to receive

Then, use this copy to do the loopback send.  The receive would be handled
by your original app. That way, you'd get a chance to test handling the
launch code *without* globals, etc.  Of course, you'd still be able to do
source-level debugging.

I've always wanted to try USB debugging with Palm Debugger to a Visor.
Theoretically, you should still be able to use IR under that configuration.
If anyone's ever done that, please let me know.

Neil
--
Neil Rhodes
Calliope Enterprises, Inc.
1328 Clock Avenue
Redlands, CA  92374
(909) 793-5995     [EMAIL PROTECTED]      fax: (909) 793-2545

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

Reply via email to