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

Add SA Command Line Debugger support to connect to debug server

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      The CLHSDB `attach` command supports attaching to a live process (PID) or core file, but it cannot connect to debug server. CLHSDB does not have a command to connect to debug server.

      Other jhsdb commands (jstack, jmap, etc...) can connect debug server via `--connect` option, so CLHSDB should connect to it.

      We need to add method to `CommandProcessor$DebuggerInterface` to connect to debug server because `DebuggerInterface` is used to do callbacks for the attach from both CLHSDB.java and HSDB.java - `DebuggerInterface` is implemented in both classes. Thus we need to change both HSDB.java and CLHSDB.java for this CR.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ysuenaga Yasumasa Suenaga
              Reporter:
              ysuenaga Yasumasa Suenaga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: