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

TTY: jdb_g should run debugger target under java_g

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • core-svc
    • x86
    • windows_95



      Name: chT40241 Date: 03/04/98


      With JDK 1.2, jdb (and the underlying sun.tools.debug) interface always
      starts the program to be debugged using the java (not the java_g)
      command. This is true even when jdb_g is used or when java_g is used
      to run a user debugging tool. This means that the Java VM of the
      debugger target cannot itself be easily debugged, due to the absence of debugging information.

      We would like to suggest that if jdb_g is used, or if sun.tools.debug is
      used from an application invoked by java_g, the debugger target should
      be created using java_g. After all, if one chooses to run jdb_g, presumably one has some reason to have done so, namely, a desire to debug the debugger at the native level. Since all the interesting parts of the debugger run under the target VM in the debug agent, it only makes
      sense for the target VM to be debuggable as well.

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

            ghirschsunw Gordon Hirsch (Inactive)
            chickeysunw Chuck Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: