public interface RemoteDebugger
extends java.rmi.Remote
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 |
---|---|
boolean |
areThreadsEqual(long addrOrId1,
boolean isAddress1,
long addrOrId2,
boolean isAddress2) |
java.lang.String |
consoleExecuteCommand(java.lang.String cmd) |
java.lang.String |
getConsolePrompt() |
java.lang.String |
getCPU() |
long |
getHeapOopSize() |
long |
getJBooleanSize() |
long |
getJByteSize() |
long |
getJCharSize() |
long |
getJDoubleSize() |
long |
getJFloatSize() |
long |
getJIntSize() |
long |
getJLongSize() |
long |
getJShortSize() |
long |
getKlassPtrSize() |
MachineDescription |
getMachineDescription() |
long |
getNarrowKlassBase() |
int |
getNarrowKlassShift() |
long |
getNarrowOopBase() |
int |
getNarrowOopShift() |
java.lang.String |
getOS() |
int |
getThreadHashCode(long addrOrId,
boolean isAddress) |
long[] |
getThreadIntegerRegisterSet(long addrOrId,
boolean isAddress) |
boolean |
hasConsole() |
long |
lookupInProcess(java.lang.String objectName,
java.lang.String symbol) |
ReadResult |
readBytesFromProcess(long address,
long numBytes) |
java.lang.String getOS() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getCPU() throws java.rmi.RemoteException
java.rmi.RemoteException
MachineDescription getMachineDescription() throws java.rmi.RemoteException
java.rmi.RemoteException
long lookupInProcess(java.lang.String objectName, java.lang.String symbol) throws java.rmi.RemoteException
java.rmi.RemoteException
ReadResult readBytesFromProcess(long address, long numBytes) throws java.rmi.RemoteException
java.rmi.RemoteException
boolean hasConsole() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getConsolePrompt() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String consoleExecuteCommand(java.lang.String cmd) throws java.rmi.RemoteException
java.rmi.RemoteException
long getJBooleanSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getJByteSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getJCharSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getJDoubleSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getJFloatSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getJIntSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getJLongSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getJShortSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getHeapOopSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getNarrowOopBase() throws java.rmi.RemoteException
java.rmi.RemoteException
int getNarrowOopShift() throws java.rmi.RemoteException
java.rmi.RemoteException
long getKlassPtrSize() throws java.rmi.RemoteException
java.rmi.RemoteException
long getNarrowKlassBase() throws java.rmi.RemoteException
java.rmi.RemoteException
int getNarrowKlassShift() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean areThreadsEqual(long addrOrId1, boolean isAddress1, long addrOrId2, boolean isAddress2) throws java.rmi.RemoteException
java.rmi.RemoteException
int getThreadHashCode(long addrOrId, boolean isAddress) throws java.rmi.RemoteException
java.rmi.RemoteException
long[] getThreadIntegerRegisterSet(long addrOrId, boolean isAddress) throws java.rmi.RemoteException
java.rmi.RemoteException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.