Hi Brian,
Addressing your last point only.
A simple way to get log messages is to call
void DlkSetLogEntry(const Char * textP, Int16 textLen, Boolean append)
To use this function you need to
#include <DLServer.h>
call it as, e.g.
DlkSetLogEntry("In func a", 8, true);
Such entries will be in your devices HotSync log.
Make sure you remove all such calls when your done debugging. If you don't
you will annoy your users.
Regards,
On 04/12/06, Brian <[EMAIL PROTECTED]> wrote:
>
> I've been reading the docs on this and I have a few questions:
>
> 1) Can the Palm Debugger connect to a device (TX specifially) over USB?
> That's the only cable that came with my TX
>
> 2) I have DotDotTwo installed, and it says my device is in console mode,
> but I am not getting any 'Ready' message in the Palm Debugger Console. Do I
> need to get the device out of console mode, then back into console mode
> while it's connected and Palm Debugger is waiting for it?
>
> I've also tried sending commands through the Console window and only get
> error messages back.
>
> I have CodeWarrior 8.3. I think I was told previously that this cannot
> connect to a device through USB. Is that correct?
>
> My problem is that my app is crashing on the device, but not in the
> Emulator or Simulator. Is there any other solution to this? Is there any way
> to create some kind of log file from the program, so at least I could print
> out "I got here" kinds of messages?
>
> Thanks
> --
> For information on using the PalmSource Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
>
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/