BREAKING: U.S. government approves Google-Motorola acquisition
Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 04-14-2009, 11:39 PM
CrackBerry Abuser
Device(s): Motorola Droid
Carrier: Verizon Wireless
 
Location: Miami, FL
Join Date: Mar 2009
Posts: 315
Likes Received: 0
Thanked 4 Times in 4 Posts
Default [Newb Question] Debugging Apps in the Simulator without waiting for bootup

Hi there, I'm 99.9% sure this is a really dumb question with a really obvious answer, but I'm just getting started with developing for BlackBerry (and mobile platforms in general) and this is the first time I've used Java so I'm just a tad lost.



Basically what I want to know is how can I debug my BB apps without having to wait two minutes for the simulator to boot up? I'm used to desktop VB/VC#.NET debugging where all I had to do was hit the Run icon on the toolbar and my app was right there. With the JDE I have to go to Debug -> Go, wait for the JDE to connect to the simulator, then wait for the damn three-minute-long Storm boot time. On top of that, every time, right at the end of the bootup sequence, the simulator throws an exception and prints 1,273 lines of "source code not available," forcing me to hit Ctrl+F5 to ignore and finish booting.

On top of that, every time I make a change to my app that I want to test I have to shut down the simulator and restart it. Does it support savestates or anything like that?

Last edited by Andiamo; 04-19-2009 at 10:37 AM.
Reply With Quote Tip this Post
  #2  
Old 04-15-2009, 12:24 AM
CrackBerry Abuser
Device(s): 9000 (Bold)
Carrier: Vodafone
 
Join Date: Oct 2008
Posts: 494
Likes Received: 0
Thanked 1 Time in 1 Post
Default

I think what you may be able to do is start the simulator at the same time you start the JDE, otherwise, you do have to wait for it to boot up.

You can also run a clean.bat file in the simulator directory to clean up the simulator state if you find that it's not coming up cleanly.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   [Newb Question] Debugging Apps in the Simulator without waiting for bootup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes