01-24-2010 04:43 AM
I'm using Eclipse 3.5.1 with the BlackBerry Java Plug-in 1.1.1 with the BlackBerry Java SDK 5.0.0.14.
Running the BlackBerry simulator works fine. However when I update my code and try to run it or debug it again I get the following error:
"A BlackBerry debugging session is already active. Only one BlackBerry debugging session can be active at one time."
If I close the simulator, then I can run the updated code as expected in a new simulator. However this slows me down because I have to wait 60+ seconds for the simulator to load so that my updated code can run.
Is there a way to update the currently running program without restarting the simulator?
Is debugging with a physical device faster?
Thanks,
Drew
Solved! Go to Solution.
01-24-2010 05:07 AM
adhintz wrote:Is there a way to update the currently running program without restarting the simulator?
No, unfortunately it is not supported yet.
adhintz wrote:
Is debugging with a physical device faster?
I am pretty sure that not . It will be slower.
01-24-2010 12:28 PM
As @sonicboomboy said it is not supported yet.
As for running it on a real device, you could make a batch file that will load the device onto an actual device and add it as a post operation to the JDE/eJDE. As long as the application is not running and you don't have any system listeners the app will get updated without the phone restarting. Just remember that you might need to sign the app in order for it to run so it would slowly go through your key unless you did loaded it manually.
01-24-2010 01:12 PM
Thanks for the information!
What do all of you prefer for development? Does anyone else use the Eclipse plug-in?
01-24-2010 02:26 PM - edited 01-24-2010 02:26 PM
I use the Eclipse plugin, it will have the most updates (GUI builder, Hot-Swap Code updates with the simulator, Cross-platform support) done to it.
01-24-2010 02:28 PM
> it will have the most updates (GUI builder, Hot-Swap Code updates with the simulator
Neat! Do you have a special version of the Eclipse plugin?
01-24-2010 02:34 PM
No, at the 2009 BlackBerry Developer Conference they demonstrated the Hot-Swap code, GUI Builder, and Cross-Platform support using Eclipse and said that those features would come out 2010 (from what I remember; GUI Builder-Early 2010 though in another post one of the RIM devs said they are aiming for mid-2010, Hot-Swap and Cross-Platform would be mid-2010). Patience and it will come... just wish time would move faster.
01-24-2010 02:45 PM
That makes sense. Thanks for all the help!