Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Developer's Forum

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-15-2009, 12:39 AM
Andiamo's Avatar
CrackBerry Abuser
Device Model: 9530 (Storm)
Carrier: Verizon
PIN: 30619014 (my stolen BB, feel free to spam the b*stard)
 
Join Date: Mar 2009
Location: Miami, FL
Posts: 239
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 11:37 AM.
Reply With Quote
  #2  
Old 04-15-2009, 01:24 AM
CrackBerry Abuser
Device Model: 9000 (Bold)
Carrier: Vodafone
 
Join Date: Oct 2008
Posts: 489
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
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



 
 Site Support | Accessory Order Support | App Store Support | Advertise | Newsletter | About Us

Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News

The names RIM and BlackBerry are registered Trademarks of Research in Motion Limited.
CrackBerry.com is in No Way Affiliated with Research in Motion Limited.
Copyright ©2007-2009 Smartphone Experts. Terms and Conditions. Privacy Policy. All rights reserved.