Code changes not sticking in simulator?

Anyone else have the problem that sometimes code changes don't become visible in the simulator (Eclipse IDE)? You add a System.println but it's not run. You clean the project, restart the simulator, re-deploy - nothing. Then you add a space to the class that instantiates said class and *then* it works. Known issue?

  • Is this reproducible?

    After you saved the file, if you have auto build, did it build?  Did you manually build it? (run>run in eclipse)

  • It happens from time to time, haven't found a pattern. I have auto-build on so an explicit project clean should clear out the entire bin directory from any compiled artifacts and re-compile, one would think

  • check the time stamp in the bin folder.  When something is run in the sim, it actually gets copied for to the sim's temp directory and runs from there, so check the timestamp there too.

    You could also run into something off if you have an app with two different names and the same manifest ID, as both might exist in the sim's temp directory.

    In the sim,under "file", select "delete all apps" to clear out the stuff used by the sim.