I have encountered behavior in the past where I had an application which had
a single segment CODE resource - and its size was hovering right at the
maximum-allowable size (65505 bytes?). When I added a small amount of code
at that point to push it over the limit, CodeWarrior didn't complain, and
would download my application to POSE. However, when I used both HotSync
Manager and Palm Buddy (on my Macintosh) to attempt to load this application
to a real device, both would fail and didn't provide me with an error
message telling me why the device would refuse to load my application.

Since I was keeping a close eye on the size of the application, I thought
that this might be the case, so I segmented the application and that solved
the problem.

So, I would suspect that I discovered a bug with the interaction between
CodeWarrior and POSE. Without knowing more, I am not sure to whom to submit
a bug report.

I *do* know that when I tried to *drag* the application to POSE when it was
over the limit, that POSE gave me an error dialog, but actually running the
source-level debugger in CodeWarrior did *not* alert me to any problem.

If you want any additional information, please let me know.

-Dave

> ----------
> From:         Heather Tufts
> Reply To:     Palm Developer Forum
> Sent:         Friday, August 4, 2000 3:22 PM
> To:   Palm Developer Forum
> Subject:      RE: Large Applications and Debugging Problem
> 
> If your application is very large, it may be that your .prc is invalid.
> After compiling, trying dragging the .prc file onto the emulator.  If it
> doesn't install the app, then your app is invalid.  You may have gone over
> the 64K single-segment limit, if this is the case.
> 
> -hkmlt
> 

-- 
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