[2544] in java-interest

home help back first fref pref prev next nref lref last post

Re: how to use the jdb

daemon@ATHENA.MIT.EDU (Thomas Ball)
Wed Oct 4 06:03:19 1995

Date: Mon, 2 Oct 1995 17:06:41 -0700
From: Thomas.Ball@Eng.Sun.COM (Thomas Ball)
To: huizhao@krypton.Stanford.EDU
Cc: java-interest@java.Eng.Sun.COM

>     I am trying to use jdb for debugging java apps. I couldn't go far beyond
>  list threads, set current thread etc. But jdb won't allow me to list source
>  code. I tried list all the threads, and selected current thread as main, the
>  tried 'list'. it give me 'Unable to find Thread.java'. I did compiled it
>  using 'javac -g'.

jdb finds source files by getting the base source name from the class
and searching each path listed in its source path list.  You should set
this source path list using the "use" command, specifying the paths in
a similar way as the CLASSPATH variable. 

In the next release, jdb will have a startup file.  This means you will
only have to enter the source path information once.

Tom Ball
Java Products Group
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post