Name: clC74495 Date: 09/28/98
We create a VM via the Invocation interface (JNI_CreateJavaVM) as
part of our app/DLL initialization. If we add the option "-Xdebug"
to the options array, our application never comes up.
This works under JDK1.1.6-N and has worked for us under 1.2 up
until fcs-K. Last tested 1.2 that I know we had no problems with
was 1.2beta4.
I have even tried writing just a plain vanilla java app, and ivoking
from the command line:
java -Xdebug -Djava.compiler=NONE foo
where foo is a class as follows:
class foo
{
public static void main(String[] args)
{
System.out.println("foo entry");
for(int x=0; x < 10000; x++)
{
System.out.println("Iteration: "+x);
}
}
}
All invocations always give the Agent password. Some invocations
then just run the app. Most of the time however, the app just hangs
after delivering the agent password. Attempting to attach JDB to
the VM also causes jdb to hang. Both processes can be stopped by
control-break.
Running NT4.0 Service pack 3.
(Review ID: 39504)
======================================================================