Hi Logan,

In my side everything is fine I guess, bcoz my application was NOT still 
running while doing "Run" or" Debug" in simulator. When Simulator is in home 
screen, I try to Run or Debug, and getting the problem.

Hi Vladimir,

I deleted my application from Simulator using "Menu->Delete", It's got deleted 
from application list. But When I see in home screen of the Simulator, It's 
available there(Why its got deleted from "Delete" app. list, But not in the 
Simulator!!??).

This is not my project and downloaded from internet from example projects to 
find out something, code supports palm os 5.0 and below 5.0. But Both of the 
versions of code gives same problem, not able to Run or Debug into 
Simulator/Emulator.

My other projects are doing well.

Expecting other useful helps like earlier.

- Martin Prabakar.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Logan Shaw
Sent: Thursday, July 14, 2005 2:00 PM
To: Palm Developer Forum
Subject: Re: Not able to debug due to "Palm OS database already
exists...."


Prabakar MP wrote:
> I am not able to debug or even run my application into Simulator.
> 
> I am able run the application for the First Time in Palm OS 5.2.1
> simulator(Treo 600). 

> After that Whenever I try to Run or Debug the application,
> Codewarrior(version 9.3) gives the Below Messagebox, But not
> able to Run or Debug from the second time onwards.

> The Alert comes and gives the below message always,
> "The Palm OS database already exists on the device and cannot be deleted."

Sometimes this happens to me if I do the following:

1)  Build app, hit Run.
2)  Test it, find a bug, go modify source to fix bug.
3)  Hit Run again.
4)  Get error message.

In my case, the problem is because CodeWarrior cannot re-launch the
application if it's still running.  That's because the PRC is open,
lots of its records are locked, and the system can't delete it.
Which means the new PRC can't be loaded.

The solution is pretty simple:  hit the Calculator button (or Home
button) on the Palm simulator/emulator right before hitting the
Run button in CodeWarrior.  This causes another app to load (either
calculator or launcher), which causes my app to exit, which causes
its PRC to be closed, so that it can be deleted.

As someone else mentioned, it can be a more complex cause:  you might
have code in your app that is locking something explicitly and then
failing to unlock it.  In that case, you may need to do a soft reset
and then delete it, or (if you handle certain notifications) you
may even need to do a no-notify reset and then delete the app, and
then maybe a soft reset after that (usually a good idea to do
another reset after a no-notify reset).

   - Logan

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

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

Reply via email to