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 ... and, I lock the chunk I need to modify.
re: 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.
Understood. But, this works fine Debugging with POSE 3.4 (and others). It
only fails with PalmSim. There must be something different about the
technique being used on the two platforms. Is there something unique about
getting access to the .prc on PACE/5.0? If not, the DB should only need to
be open for writing during the breakpoint "install".
Regards,
Terry
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/