-
Bug
-
Resolution: Fixed
-
P2
-
1.3.0
-
beta2
-
generic
-
generic
-
Not verified
Name: tb29552 Date: 03/02/2001
Using "sourcepath" or "use" by themselves in jdb reports the default
sourcepath, but not a newly changed value.
Here's output from debugging a simple class, "Hello".
-----------------------------------------------
> Set deferred breakpoint Hello:8
Breakpoint hit: thread="main", Hello.main(), line=8, bci=0
main[1] list
Source file not found: Hello.java
main[1] use
.
main[1] use /dove1/users/claudiam/gsjlayers13/tests/uitest/debug/unit
main[1] list
4
5 static String message = "Hello";
6
7 public static void main( String args[] ) {
8 => System.out.println( message + ", world." );
9 System.exit(0);
10 }
11 }
main[1] use
.
--------------------------------------------
From reading the jdb help, I would expect that last "use" to
report the current sourcepath.
(Review ID: 117718)
======================================================================
- relates to
-
JDK-4283715 TTY: JDB "use" command doesn't seem to work if space in path
-
- Closed
-
-
JDK-4186582 TTY: Source files in CLASSPATH are not in default "use" path
-
- Closed
-