This interface describes the methods which are used in a remote debugging scenario. It is only necessary because RMI requires that all such methods throw RemoteException, which is a checked (i.e., not a Runtime) exception. Since we already have a suitable runtime exception (DebuggerException) present in the signatures for all of the debugger-related methods, we would like to repurpose this to wrap RemoteExceptions. This is done by wrapping the actual remote debugger object
NOTE that this interface currently assumes that the debugger on the remote machine has already been attached to the target process or has opened the desired core file. This implies that the machine hosting the user interface can not effect attaching/detaching. Currently this restriction has been enforced to make the user interface less confusing, but there will also be security concerns with allowing clients to attach to arbitrary remote processes.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public String | |
| public default String | |
| public String | |
| public String | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public MachineDescription | |
| public long | |
| public int | |
| public long | |
| public int | |
| public String | |
| public int | |
| public long[] | |
| public boolean | |
| public long | |
| public ReadResult |
| areThreadsEqual | back to summary |
|---|---|
| public boolean areThreadsEqual(long addrOrId1, boolean isAddress1, long addrOrId2, boolean isAddress2) throws RemoteException | |
| consoleExecuteCommand | back to summary |
|---|---|
| public String consoleExecuteCommand(String cmd) throws RemoteException | |
| execCommandOnServer | back to summary |
|---|---|
| public default String execCommandOnServer(String command, Map<String, Object> options) throws RemoteException | |
| getConsolePrompt | back to summary |
|---|---|
| public String getConsolePrompt() throws RemoteException | |
| getCPU | back to summary |
|---|---|
| public String getCPU() throws RemoteException | |
| getHeapOopSize | back to summary |
|---|---|
| public long getHeapOopSize() throws RemoteException | |
| getJBooleanSize | back to summary |
|---|---|
| public long getJBooleanSize() throws RemoteException | |
| getJByteSize | back to summary |
|---|---|
| public long getJByteSize() throws RemoteException | |
| getJCharSize | back to summary |
|---|---|
| public long getJCharSize() throws RemoteException | |
| getJDoubleSize | back to summary |
|---|---|
| public long getJDoubleSize() throws RemoteException | |
| getJFloatSize | back to summary |
|---|---|
| public long getJFloatSize() throws RemoteException | |
| getJIntSize | back to summary |
|---|---|
| public long getJIntSize() throws RemoteException | |
| getJLongSize | back to summary |
|---|---|
| public long getJLongSize() throws RemoteException | |
| getJShortSize | back to summary |
|---|---|
| public long getJShortSize() throws RemoteException | |
| getKlassPtrSize | back to summary |
|---|---|
| public long getKlassPtrSize() throws RemoteException | |
| getMachineDescription | back to summary |
|---|---|
| public MachineDescription getMachineDescription() throws RemoteException | |
| getNarrowKlassBase | back to summary |
|---|---|
| public long getNarrowKlassBase() throws RemoteException | |
| getNarrowKlassShift | back to summary |
|---|---|
| public int getNarrowKlassShift() throws RemoteException | |
| getNarrowOopBase | back to summary |
|---|---|
| public long getNarrowOopBase() throws RemoteException | |
| getNarrowOopShift | back to summary |
|---|---|
| public int getNarrowOopShift() throws RemoteException | |
| getOS | back to summary |
|---|---|
| public String getOS() throws RemoteException | |
| getThreadHashCode | back to summary |
|---|---|
| public int getThreadHashCode(long addrOrId, boolean isAddress) throws RemoteException | |
| getThreadIntegerRegisterSet | back to summary |
|---|---|
| public long[] getThreadIntegerRegisterSet(long addrOrId, boolean isAddress) throws RemoteException | |
| hasConsole | back to summary |
|---|---|
| public boolean hasConsole() throws RemoteException | |
| lookupInProcess | back to summary |
|---|---|
| public long lookupInProcess(String objectName, String symbol) throws RemoteException | |
| readBytesFromProcess | back to summary |
|---|---|
| public ReadResult readBytesFromProcess(long address, long numBytes) throws RemoteException | |