-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
70 lines (46 loc) · 1.47 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Openjdb
=======
Due to heavy development of jdi library it's added to openjdb as a submodule.
Jarfind library is not published on hackage yet.
jarfind
jdi
COMPILATION
-----------
You need cabal for building the project.
Install necessary unpublished libraries:
- Enter jarfind directory.
- run
# cabal confgiure
# cabal build
# cabal install
- repeat the same steps for jdi library.
In openjdb directory run:
# cabal configure
# cabal build
Now you have openjdb executable binary in dist/build/openjdb.
If you want to try openjdb with debugging any real application do the following:
Start ./run_sample.sh.
It starts a sample java application.
In another terminal start ./run_openjdb.sh. It will connect to the previously
started java application.
openjdb is designed to look very similar to gdb GNU debugger and not to jdb
from java packages.
Refer to run_openjdb.sh shell script for command line arguments necessary to
run openjdb.
RELEASE NOTES
-------------
Features and limitations of the current release.
Features:
- read only access to virtual machine.
- print stack trace.
- print list of running threads.
- print values of variables.
- breakpoint for method.
- breakpoint for lines.
- step execution.
- next execution.
Limitations:
- can not print values of expressions bigger than one variable.
- all threads are suspendded on breakpoint or step request.
- can not move up and down alongside stack trace frames.
- can not operate with threads.