Hi Josh, Now, I'm working about JDWP.
As you suggest, I begin to write a little wrapper. It opens a TCP socket in listen 8000 port (sample), then wraps the JDB command to BlackBerry JVM. Moreover, use JDWP is easier than write a complet JDB. I think that it isn't very difficult... (I hope) However, I need your helps for Windows logs. Can you run JDWP tools provided by RIM (<JDE directory>/bin/jdwp.bat) ? Run JDWP on the 9000 port. Write a little tool who opens the 8000 port, then redirect all traffic 8000 <=> 9000. (and of course dump the traffic into two files logs in / out) Run JDE eclipse or JDB command line : jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000 So I'll get the communication between JDB and JDWP. The result final is (I hope :)) : $ <plug your blackberry device> $ <build hello.java with rapc tools> $ javaloader load hello.cod $ bjdwp --port 9000 $ jdb -sourcepath /opt/dev/src \ -classpath /opt/RIM/sdk/lib/net_rim_api.jar \ hello $ <enjoy> And the architecture is : JDB <=> BJDWP <=> libbarry <=> -USB link- <=> BlackBerry Device <=> JVM Regards, On Fri, Jun 19, 2009 at 05:14:55PM -0400, Josh Kropf wrote: > I have one suggestion. You might want to consider developing a JDWP > bridge. This will enable debugging of the blackberry from any JDWP > compliant debugger which includes all the major IDE's (eclipse, > netbeans, etc) and event the command line java debugger jdb.exe. -- Nicolas ------------------------------------------------------------------------------ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel