Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4176736

-Xdebug hangs in 1.2fcs-K

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.0
    • 1.2.0
    • core-svc
    • 1.2fcs
    • x86
    • windows_nt
    • Not verified



      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)
      ======================================================================

            rfield Robert Field (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: