From: "ramoynihan" <[EMAIL PROTECTED]>
> If I want to display more than one debug message, I use the DebugXY
> function to place additional messages at other parts of the display.
> DebugT functions allow debug output of short text strings.
> 
> (if any of you programmers out there are ROFL at what I just wrote,
> I'd be more than willing to entertain any well-meaning advice on how
> to debug the right way.  And for the not-so-well-meaning,... I've got
> a pretty thick skin...  have at it!)
> 
Heh, reminds me of the work I had to do when debugging a Handspring-
-based GSM device that would drop the debug connection as soon as
the serial comms kicked in.  I built a simple logging system that wrote 
to a database.  IMHO this work is worth doing because it then becomes
available for other purposes, in my case the most obvious purpose 
being switching it on when a difficult client was testing the code so that
his "It crashed!!!!!!" message could be replied to by "In your backup
folder will be a file called blah.pdb, please email me that file".

I always had this feeling that I was doing things the dumb newbie way
but after spending half a day of tight deadline time trying to work around
the problem I decided to go with a solution that was gauranteed to 
produce a result for me after a certain amount of work.  That's certainly
not true for trying to resolve debugger problems.

"Hi, my name is Chris and I use debug printfs".  :-)

Chris Tutty

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

Reply via email to