lib: changed asserts to exceptions, to guarantee these are never used
[barry.git] / doc / bjdwp / jdwp-protocol.txt
blob9a04dc0983101e59ee97050549630be655f5ba38
1 .: Test to get traces :.
2 ========================
4 1°) Scheme
6   +-------+              +--------+         +------------+
7   |       |              |        |         | BlackBerry |
8   |  JDB  |== TCP / IP ==|  JDWP  |== USB ==|            |
9   |       |              |        |         |   device   |
10   +-------+              +--------+         +------------+
12 2°) Plug your BlackBerry device
14 3°) Install the BarryDemo application on your device (in using javaloader / bjavaloader)
16 4°) Run tcpdump on the local interface
18 5°) Run JDWP provided by RIM's tools (listen to port 8080)
20 6°) Run JDB :
21   
22   $ jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8080
24   $ jdb> resume
26   $ jdb> exit