From: "Ben Combee" <[EMAIL PROTECTED]> > SSF files are very sensitive to the environment in which they were > created. They may not reload on another computer, or even on the same > computer if the set of programs running on the computer when the simulator > starts changes. > ... which severely limits their usefulness. I'm sure that the emulator used to have a way to save the device state as I used to use this to save test frameworks for projects. The fact that the simulator snapshots have a good chance of becoming invalid over time makes them virtually worthless as a way of saving device state so that you can quickly repeat tests when coming back to a project for bug-fixing.
Is there any chance of a reliable way to save the device state being introduced, or is there a mechanism already in place that I missed when reading the manual? (I haven't looked for some months so this complaint might be out of date).
So, we've got a few things here.
The Palm OS 5.4 simulator that's bundled with Palm OS Developer Suite 1.1 is version 5.4.0.1 -- this has a "AutoSaveStorage" option that lets you set it up so that it will generate a SSF file when being closed.
If you export your state as databases, you can add those to the AutoLoad folder and they'll be opened on startup.
Also, if you're using a Palm OS simulator that handles NVFS, like the Treo 650 or Tungsten T5, then all the DBs are saved to a NVFS volume and will be available when the sim is restarted.
-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
