Search the web
Sign In
New User? Sign Up
palm-dev-forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Debugger/POSE/PalmSim   Message List  
Reply | Forward Message #68869 of 92429 |
Re: Debugger/POSE/PalmSim

> After much interaction with a 5.0 developer (name withheld to protect
the
> innocent), we determined my application actually runs absolutely
wonderful
> on PalmSim and 5.0. As long as the Debugger isn't involved, that is.
Which
> took quite a while to figure out, because I was the only way I was
testing
> my app was while running under PalmSim and 5.0 from the debugger so I
could
> trap "surprises".
>
> So, my application that runs fine from the Debugger with POSE 3.4 (and
any
> version of Palm OS up to 4.1) has a problem with the Debugger and
> PalmSim/5.0. It appears that the Debugger is opening the .prc with
Write
> access, and leaving it that way for the duration of the debug session.
So,
> my application code listed above trips on the "DmOpenDatabase"
function.
>
> My very patient 5.0 developer contact suggested I contact MW, and in
> particular, Ben Combee, via this newsgroup to report the ... situation
??

I'll forward this on to our debugger engineer, but I don't think there
is a good fix. When we load an app onto a device for debugging, we lock
the database so it won't move and affect the mapping of memory addresses
to functions. We also have the DB open for writing, since breakpoints
are implemented by changing the object code in memory -- a breakpoint
modifies the instructions so when they're executed the debugger is
activated.



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



Sat Feb 23, 2002 11:00 am

bcombee@...
Send Email Send Email

Forward
Message #68869 of 92429 |
Expand Messages Author Sort by Date

I posted the following message on 2/21/2002 (subject: PalmSim / 5.0 ??) **** START REPOST This code has been running perfectly fine on Palm OS 3.1 through 4.0...
Terry Dennis
tedennis@...
Send Email
Feb 23, 2002
3:28 am

... the ... wonderful ... Which ... testing ... could ... any ... Write ... So, ... function. ... ?? I'll forward this on to our debugger engineer, but I don't...
Ben Combee
bcombee@...
Send Email
Feb 23, 2002
11:01 am

re: When we load an app onto a device for debugging, we lock the database so it won't move and affect the mapping of memory addresses to functions. Makes sense...
Terry Dennis
tedennis@...
Send Email
Feb 23, 2002
2:09 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help