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.
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.
- csr for
-
JDK-8263005 Add SA Command Line Debugger support to connect to debug server
-
- Closed
-