Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

-sourcepath option in jdb

458 views
Skip to first unread message

garych

unread,
Jul 31, 2000, 3:00:00 AM7/31/00
to
When I step through my java program in jdb. The jdb can not find
source file of my java code which reside in another dir. I tried
to use -sourcepath and it failed to setup this option. When I
type command like this: jdb -sourcepath d:\jprojects myclass
the jdb still show the sourcepath as '.'. Is this a bug?
How can I step through some source code which is not in current
dir?

gc


-----------------------------------------------------------

Got questions? Get answers over the phone at Keen.com.
Up to 100 minutes free!
http://www.keen.com


Phil Hanna

unread,
Aug 2, 2000, 3:00:00 AM8/2/00
to
On Mon, 31 Jul 2000 11:50:12 -0700, garych
<garychN...@unidial.com.invalid> wrote:

>When I step through my java program in jdb. The jdb can not find
>source file of my java code which reside in another dir. I tried
>to use -sourcepath and it failed to setup this option. When I
>type command like this: jdb -sourcepath d:\jprojects myclass
>the jdb still show the sourcepath as '.'. Is this a bug?
>How can I step through some source code which is not in current
>dir?

Inside jdb, type "use d:/jprojects"


--
Phil Hanna
Author of "Instant Java Servlets"
http://www.philhanna.com

0 new messages