BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-21-2009, 03:27 PM   #1
DCForever
New Member
 
Join Date: Aug 2009
Model: Bold
PIN: N/A
Carrier: At&T
Posts: 2
Default Debugging with Intellij?

Please Login to Remove!

I am trying to setup a blackberry development environment using Intellij IDEA 8.1 as my IDE. I have successfully set it up using bb-ant-tools and ant. Building and signing works just fine.

Now, I am trying to get debugging on the simulator working. I start JDWP then from Intellij, I have the configuration point to the server and port of the JDWP instance usually localhost and 8000. It says it connected, but no log statements show up. The simulator get started correctly, but the simulator never leaves the "Debugger Attaching" screen.

Has anyone solved this or gotten debugging to work from Intellij?
Offline  
Old 08-21-2009, 07:16 PM   #2
ptys
Knows Where the Search Button Is
 
Join Date: Jul 2008
Model: none
PIN: N/A
Carrier: none
Posts: 26
Default

I don't actually have an answer to your particular question, but we wasted a lot of time coming up with a development setup for BB. We tried different versions of their dev environments and some sucked more than others, but what did work for us was JDE Plugin 1.0.0.22. It's an old version of their Eclipse integration. It sucks in many ways, but it's usable. The good thing about it is that it uses JDE workspace files, so if anything gets screwed up and you have to destroy the Eclipse workspace (I have to do it several times a day), you can just re-import the project from JDE files.

Their latest and greatest Eclipse plugin is unusable to us. It only supports one source root. I haven't seen a project where all the source files are kept in the same location.

Next developer conference we'll b*tch about it to RIM again.

Good luck.

Quote:
Originally Posted by DCForever View Post
I am trying to setup a blackberry development environment using Intellij IDEA 8.1 as my IDE. I have successfully set it up using bb-ant-tools and ant. Building and signing works just fine.

Now, I am trying to get debugging on the simulator working. I start JDWP then from Intellij, I have the configuration point to the server and port of the JDWP instance usually localhost and 8000. It says it connected, but no log statements show up. The simulator get started correctly, but the simulator never leaves the "Debugger Attaching" screen.

Has anyone solved this or gotten debugging to work from Intellij?
Offline  
Old 08-24-2009, 10:33 AM   #3
DCForever
New Member
 
Join Date: Aug 2009
Model: Bold
PIN: N/A
Carrier: At&T
Posts: 2
Default

I will probably code and build with Intellij and then debug with JDE. Doesn't look like there is really any alternative other than Eclipse and I don't want to add another tool to the steps. I just wish I knew why Intellij doesn't attach when it says that it does.
Offline  
Old 08-24-2009, 02:21 PM   #4
Cliff76
Knows Where the Search Button Is
 
Join Date: Nov 2007
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 15
Default

If you ever find an answer to this question drop me a line. I've been struggling for years now trying to get decent Blackberry development done from Idea. FWIW, I just posted a similar question (never knew about JDWP) in another thread.
Offline  
Closed Thread



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

Forum Jump


Schneider Electric Energy Server EBX510 Server For Energy Management- picture

Schneider Electric Energy Server EBX510 Server For Energy Management-

$4350.00



FANUC Server Driver A06B-6077-H111 picture

FANUC Server Driver A06B-6077-H111

$2158.86



FANUC Server Driver A06B-6117-H211 picture

FANUC Server Driver A06B-6117-H211

$3993.99



Server - 82700 - 1 1/2 Qt Mini Warmer picture

Server - 82700 - 1 1/2 Qt Mini Warmer

$150.00



Server 82740-315 FOUNTAIN PUMP picture

Server 82740-315 FOUNTAIN PUMP

$195.00



Intel S2600CP2 Server Board DBS2600CP2 with cables, FW CD docs picture

Intel S2600CP2 Server Board DBS2600CP2 with cables, FW CD docs

$224.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.