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

Add SA Command Line Debugger support to connect to debug server

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • hotspot
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: