Paul,

At 03:49 PM 3/5/99 +0000, you wrote:
>Has anyone been able to debug shared libraries on the palm.

The short answer is that you can't debug shared libraries.

What we do is develop the library in two parts.  The public API functions
lock the global data and immediately pass them on to private functions.
These private function perform the actual functionality for the shared
library.  They return the appropriate value to the public function.  The
public function unlocks the globals and returns.

Why this approach?  We build testers that directly link to the private
implementation, so we can debug that.  This means that if there is a
problem with the shared library, we can find it with the tester if its a
bug in the implementation.  If not, then it is something specific to the
shared library plumbing.

Anyhow, that's the general approach.

I hope this helps.

Regards,
Greg


Greg Winton
Bachmann Software and Services, LLC
mailto:[EMAIL PROTECTED]
http://www.bachmannsoftware.com
Software Development for Handheld & Mobile Computing, Windows and the Internet
Home of Bachmann Print Manager, the only graphical printing solution for
the Palm Computing Platform

Reply via email to