I suggest giving on device debugging a try.  All you need is a serial cable 
(you can get them off the PalmOne site for not too much).  It's very slow 
compared to POSE/Simulators, but it works.  Also you eliminate the minor 
differences in behavior you see on the Simulators (ie screen refreshes and 
such).

One thing you can do to make it faster is HotSync the files to the device and 
then uncheck the "Download to device" option in the Debugger preferences in CW. 
 That way you just attach to the prc and launch.  From there the debugging is 
pretty much normal.  Although I have seen other issues with this.  Sometimes it 
keeps break points around after I clear them. I've seen the device just reset 
(thereby losing your connection to the debugger) on some exceptions.  However 
it does work better than the Simulators.

Hope that helps,

Aaron


>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of Luc Le Blanc
>Sent: Tuesday, September 13, 2005 4:17 PM
>To: Palm Developer Forum
>Subject: Re: How to find a bug that crashes Simulator?
>
>
>Aaron Hansen a écrit :
>
>> I still have
>> a hard time swallowing the idea that it is acceptable to be 
>reduced to 
>> the equivalent of printf's (logging) to find a crash in my code. 
>> Breaking out on a memory exception is a basic feature I would expect 
>> of any debugging environment.
>
>It's half-consoling to see I'm not alone both experiencing 
>Simulator crashes (on my own code errors, no doubt) and 
>thinking the Simulator should do a better job at spotting 
>those errors than plainly crashing. But until PalmSource 
>addresses this issue, I'm afraid POSE will remain my debugging 
>tool of choice, saving the Simulator for device-specific 
>feature testing like hi-res or the T3 landscape mode. Or would 
>on-device debugging with CW 9.3 yield better results?
>
>
>--
>Luc Le Blanc
>
>
>-- 
>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/

Reply via email to