Test : jdb HelloWorld
Mode : -Xmixed, -Xint, -Xcomp
Steps to reproduce :
HelloWorld.java
::::::::::::::
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello, world!");
}
}
user% $JAVA_HOME/bin/java -showversion HelloWorld
java version "1.3.1beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b13)
Java HotSpot(TM) Client VM (build 1.3.1beta-b13, mixed mode)
Hello, world!
user% $JAVA_HOME/bin/jdb HelloWorld
Initializing jdb...
> stop in HelloWorld.main
Deferring breakpoint HelloWorld.main.
It will be set after the class is loaded.
> run HelloWorld
>
VM Started:
Hangs here..
Mode : -Xmixed, -Xint, -Xcomp
Steps to reproduce :
HelloWorld.java
::::::::::::::
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello, world!");
}
}
user% $JAVA_HOME/bin/java -showversion HelloWorld
java version "1.3.1beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b13)
Java HotSpot(TM) Client VM (build 1.3.1beta-b13, mixed mode)
Hello, world!
user% $JAVA_HOME/bin/jdb HelloWorld
Initializing jdb...
> stop in HelloWorld.main
Deferring breakpoint HelloWorld.main.
It will be set after the class is loaded.
> run HelloWorld
>
VM Started:
Hangs here..
- duplicates
-
JDK-4369489 jdb does not work on Linux platform.
- Closed
- relates to
-
JDK-4406166 jdb fails to set breakpoint in HelloWorld
- Closed