12-16-2010 11:12 AM
Might be the dumb question of the day, but I am assuming that the only way to clear the persistent storage in a Simulator is to stop the Simulator, run clean on the Simulator and start the Simulator back up again?
Or is there a neat trick to test persistent storage that doesn't require a restart cycle of a Simulator?
I want to:
Thanks,
Solved! Go to Solution.
12-16-2010 12:09 PM - edited 12-16-2010 12:12 PM
Hi
You can also clean persistent storage in a Simulator without run clean.bat.
In eclipse menu ,click on blackberry ->; Erase simulator file.
Hope this help
12-16-2010 12:36 PM
Thanks for the tip rrr_04.. I like getting little tips like this. Kudos to you :-)
12-16-2010 12:44 PM
Which BlackBerry icon do I click on to get the correct Eclipse context menu?
I cannot find the Erase simulator file option.
12-16-2010 12:53 PM - edited 12-16-2010 12:59 PM
Look under "Project" --> "BlackBerry" -- "Clean Simulator..." at the bottom of the menu.
12-16-2010 01:13 PM
The only options I have in the Clean Simulator dialog window are:
BlackBerry JRE 5.0.0
These options can only be ran when the Simulator is not running. I was looking for an option to erase persistent storage while the Simulator is running.
12-16-2010 02:07 PM
Because you want to clear persistent storage, you want to clear the .dmp files (i.e. Remove Files from the File System). So put a check mark on that option and click OK.
12-16-2010 02:09 PM - edited 12-16-2010 02:09 PM
I didn't read your message very well, my bad. I guess if you can't clear the storage when the simulator is running then this won't help.
06-25-2012 06:55 AM
Just to add that on Windows 7 64-bit the clean simulator method does not clean my persistent storage. To clean it I have to delete the entire contents of: C:\Users\<username>\net\rim\fledge-2.
This completely resets the simulator to default settings.