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

JDI: Unable to launch a debugee program with vmexec=java_g

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.0
    • core-svc
    • None
    • generic
    • generic



      Name: tb29552 Date: 03/21/2001


      Using jdb as an example, this works fine:

      % jdb -connect "com.sun.jdi.CommandLineLaunch:main=HelloWorld"
      Initializing jdb...
      > run
      run HelloWorld
      >
      VM Started: Hello, world!

      The application exited


      But this fails:

      % jdb -connect "com.sun.jdi.CommandLineLaunch:main=HelloWorld:vmexec=java_g"
      Initializing jdb...
      > run
      run HelloWorld:vmexec=java_g
      >
      VM Started:
      Exception occurred: java.lang.ClassNotFoundException (uncaught) thread="main",
      java.net.URLClassLoader$1.run(), line=200, bci=72

      main[1] cont
      >
      Exception occurred: java.lang.ClassNotFoundException (uncaught) thread="main",
      java.net.URLClassLoader.findClass(), line=205, bci=28

      main[1]

      ======================================================================

            tbell Tim Bell
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: