This repository has been archived by the owner on Sep 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
87 lines (48 loc) · 1.86 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
This repo has been archived. See https://github.com/rich-coe/gjdb
GJDB Version 6
DESCRIPTION
-----------
This directory contains GJDB, a GDB-like modification (and partial
bug fixing) of Sun's jdb, for use with Sun's JDK 1.3, or JDK 1.2.x + JDI 1.0.
GJDB differs from jdb in that
(1) Some broken features now work,
(2) It is possible to send System.in input to the debugged program. GJDB
passes input from the terminal to your program when the program is
not stopped.
(3) The commands have been made GDB-like and there is an Elisp file defining
a gjdb command (analogous to gdb) for Emacs.
Unlike gjdb version 1, this JDI-based version can compute a large and useful
subset of the Java expression language. For example
(gjdb) print x + 1
or
(gjdb) print x.f ()
At the moment, proper documentation is missing. Type 'help' in the debugger.
INSTALLATION
------------
To configure, use
DIR/configure OPTIONS
in the directory in which you want to build, where DIR designates the
directory in which you have unpacked the source (can be .). Use
DIR/configure --help
to see the options.
Next, you can simply type
make
to build,
make install
to install, and
make install-doc
to compile and install the documentation file gjdb.pdf.
To use gjdb from Emacs, arrange to load it in your initialization
(.emacs) file with the command
(load "DIR/gjdb")
where DIR is the directory in which 'make install' put gjdb.el (see the
output of configure --help), or just
(load "gjdb")
if you have put DIR on Emacs's load path.
DIRECTORIES
-----------
src: Contains Java class sources, Bison sources, and JFlex sources.
lib: Contains the Emacs definitions supporing gjdb mode.
doc: gjdb.tex and supporting LaTeX definition files (from the introductory
data-structures course CS61B).
bin: Supporting shell scripts.