1BJDWP(1) General Commands Manual BJDWP(1)
2
3
4
6 bjdwp - Command line USB Blackberry Java Debug Wire Protocol
7
9 bjdwp [-h][-p pin][-P password][-v] address port
10
11
13 bjdwp is a program that supports the Java Debug Wire Protocol over USB,
14 which enables debugging of Java programs directly on your Blackberry.
15
16 Support is experimental, and development is focused primarily on the
17 BlackBerry Storm.
18
19
21 -p pin PIN of device to talk with. Only needed if you have more than
22 one Blackberry connected at once.
23
24 -P password
25 Simplistic method to specify device password. In a real appliā
26 cation, this would be done using a more secure prompt.
27
28 -v Dump verbose protocol data during operation.
29
30 -h, --help
31 Show summary of options.
32
33
35 The following arguments are required, in order to provide a socket
36 where the JDWP server will listen for connections from the debugger.
37
38 address
39 Most often 'localhost' but can be any IP or hostname on the
40 machine running bjdwp.
41
42 port Port to listen on.
43
44
46 Start the server and the USB connection to the device:
47
48 bjdwp localhost 8000
49
50 Then start your java debugger:
51
52 jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000
53
54
55
57 bjdwp was initially written for the Barry project by Nicolas VIVIEN.
58 This manual page was written by Chris Frey.
59
61 http://www.netdirect.ca/software/packages/barry
62
63
64
65
66 September 29, 2009 BJDWP(1)