comparison src/share/classes/com/sun/tools/example/doc/index.html @ 0:37a05a11f281

Initial load
author duke
date Sat, 01 Dec 2007 00:00:00 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7816b0d34428
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <title>Example JDI Applications</title>
5 </head>
6 <BODY BGCOLOR="#FFFFFF">
7 <h1>Example JDI Applications</h1>
8 This example download contains the source code and
9 documentation for three applications written using
10 the Java<sup><font size=-2>TM</font></sup> Debug Interface (JDI)
11 of the <A HREF="http://java.sun.com/products/jpda">Java Platform Debugger Architecture</A> (JPDA).
12 They are provided as educational tools and as starting
13 points for debugger development.
14 <P>
15 In increasing order of complexity:
16 <UL>
17 <LI><A HREF="trace.html">Trace</A> displays traces
18 of program execution. It is very simple (less than 600 lines)
19 yet uses most of the basic JDI functionality. It is a
20 good starting point.
21 <LI><A HREF="jdb.html">Jdb</A> is the command line debugger
22 distributed with the J2SE SDK.
23 <LI><A HREF="javadt.html">Javadt</A> is the beginnings of
24 a GUI debugger.
25 </UL>
26 <P>
27 Trace is in the <code>trace</code> directory.
28 Jdb and Javadt share a package, and are under the
29 <code>debug</code> directory.
30
31 <A NAME="SETUP"><H2>Required Set-up</H2></A>
32
33 <H4>Where is JPDA?</H4>
34 New versions of the J2SE SDK have JPDA included. For
35 older versions JPDA must be separately downloaded.
36 <DL>
37 <DT>SDKs with JPDA included
38 <DD>J2SE SDK v1.3 and later and J2SE SDK for Linux v1.2.2
39 <DT>SDKs requiring JPDA download
40 <DD>J2SE SDK v1.2.1 and v1.2.2 for Solaris and Windows
41 <DT>Other SDKs
42 <DD>Check with vendor
43 </DL>
44 <P>
45 <H4>Set-up for J2SE SDKs with JPDA included</H4>
46 Your classpath must include the JDI Library code, which is
47 in <code>tools.jar</code> in the <code>lib</code> directory.
48 This is needed for both compiling the example code and
49 executing it.
50 <p>
51 <H4>Set-up for J2SE SDKs without JPDA - Solaris</H4>
52 Download JPDA v1.0 from
53 <A HREF="http://java.sun.com/products/jpda">http://java.sun.com/products/jpda</A>. Follow the
54 <A HREF="http://java.sun.com/products/jpda/installinst.html">Installation Instructions</A>
55 found there. Pay particular attention to setting the library
56 path.
57 <P>
58 Your classpath must include the JDI Library code, which is
59 in <VAR>jpda_home</VAR>/<code>lib/tools.jar</code>.
60 This is needed for both compiling the example code and
61 executing it.
62 <P>
63 <H4>Set-up for J2SE SDKs without JPDA - Windows</H4>
64 Download JPDA v1.0 from
65 <A HREF="http://java.sun.com/products/jpda">http://java.sun.com/products/jpda</A>. Follow the
66 <A HREF="http://java.sun.com/products/jpda/installinst.html">Installation Instructions</A>
67 found there. Be sure to add:
68 <PRE>
69 <VAR>jpda_home</VAR>\bin
70 </PRE>
71 to your path.
72 <P>
73 Your classpath must include the JDI Library code, which is
74 in <VAR>jpda_home</VAR>\<code>lib\tools.jar</code>.
75 This is needed for both compiling the example code and
76 executing it.
77 <P>
78 <hr>
79 <address><a href="mailto:java-debugger@java.sun.com">java-debugger@java.sun.com</a></address>
80 </P>
81 <P>
82 </P>
83 <!-- Created: Mon Feb 7 18:56:28 PST 2000 -->
84 </body>
85 </html>