bustos 2005-07-20
Under OPTIONS, jdb(1) says
Joption Pass option to the Java virtual
machine, where option is one of the
options described on the man page
for the java application launcher,
java (1). For example, -J-Xms48m
sets the startup memory to 48 mega-
bytes. It is a common convention for
-J to pass options to the underlying
virtual machine.
First of all, a dash needs to be added before the J. Secondly,
I tried to use this to enable assertions in the program I was
trying to debug. "jdb -J-ea Program" started ok, but the
assertions were not enabled. The description of -J should be
clarified to say that the options are for jdb's vm, and that
options for the program's vm should be supplied in the
run command. The run command's description should probably be expanded
to say that it may be used to pass options to the vm. And jdb's help
message should be updated to show that run takes arguments for the vm.
###@###.### 2005-07-21 01:45:42 GMT
Under OPTIONS, jdb(1) says
Joption Pass option to the Java virtual
machine, where option is one of the
options described on the man page
for the java application launcher,
java (1). For example, -J-Xms48m
sets the startup memory to 48 mega-
bytes. It is a common convention for
-J to pass options to the underlying
virtual machine.
First of all, a dash needs to be added before the J. Secondly,
I tried to use this to enable assertions in the program I was
trying to debug. "jdb -J-ea Program" started ok, but the
assertions were not enabled. The description of -J should be
clarified to say that the options are for jdb's vm, and that
options for the program's vm should be supplied in the
run command. The run command's description should probably be expanded
to say that it may be used to pass options to the vm. And jdb's help
message should be updated to show that run takes arguments for the vm.
###@###.### 2005-07-21 01:45:42 GMT
- relates to
-
JDK-6389899 JDB help command doesn't correctly describe run command
-
- Closed
-