This content has been marked as final. Show 2 replies
jdb -help says:
attach to a running VM at the specified address using standard connector
On Windows the 'standard', ie. default, connector uses the shared memory transport.
To connect to a socket, you need to tell jdb to use the socket attaching connector, ie
jdb -connect com.sun.jdi.SocketAttach:port=9000
It is hard to remember the names and params of all the connectors. You can do
to refresh your memory.