Thursday 15 January 2009

Cannot Find .debug file error

If you launch the simulator and get the above error it means that the simulator is loaded with the wrong version of the application. Using Browse.. from the dialog box that pops up and selecting the .debug file won’t fix it.

Not sure why this happens but the version loaded and the version in the .debug file differ so any changes you make will not be reflected on the simulator. Sometimes this can happen if you have a dialog box open and you try to debug. I also got this error when I had set an icon in the project, I then removed the jpg file from the workspace but did not delete the icon resource and launched the application.

You can clear the applications from the simulator and put it back to it’s original state by using the /clear-flash command in the batch file for launching the simulator, located in:
\plugins\net.rim.eide.componentpack4.3.0_4.3.0.8\components\samples\

I just added this in, ran it once and then removed it. You can leave it in to get a fresh version of the simulator each time but it takes longer to load and simulator will always prompt to use wizard on load. You need to change something in the project and rebuild it before you will see it on the simulator.

To view all other commands that can be used in the batch file, navigate to the samples folder and use the fledge /help command.

No comments:

Free Hit Counter