>Now we run the debugger on that application:
>- "Project/Enable Debugger"
>- "Project/Debug"
>- Starter.prc is downloading to POSE.
>
>An error message displays:
>
>"UIAppShell" (unknown version) reports "DataMgr.c, Line 8236, Records
>left locked in closed unprotected DB". If this is the latest version of
>"UIAppShell", please report this to the application author.
>What is the problem while debugging?
>Why do these error messages appear?
This is a new error message which the debug roms will display. It was
added in Palm OS 3.3. It means what it says: that records (or resources)
were left locked, when a database was being closed. This usually indicates
a bug, because of a dangling reference, an unsaved record, or so forth.
If an application still needs a locked pointer to a record or resource
after closing the database, it must call DmDatabaseProtect so that the
database and its contents won't be deleted by a HotSync process, or
something like that.
As for why it is coming up now: there's a bug in the way that the debugger
talking to 3.5 and is downloading the application and setting a breakpoint
in it, such that it is triggering this warning message. The debugger nub
is being fixed to get past this (extremely annoying) bug. In the meantime,
just hit "continue".
>What is the UIAppShell application?
It is the invisible application which runs all other applications. Yes,
start your conspiracy theories going, you heard it here...
(Basically, it means no app was running when this problem occurred.
Nothing to see here, folks, move along...)
-David Fedor
Palm Developer Support