public class RemoteDebuggerServer extends java.rmi.server.UnicastRemoteObject implements RemoteDebugger
Constructor and Description |
---|
RemoteDebuggerServer()
This is the required no-arg constructor
|
RemoteDebuggerServer(Debugger debugger)
This is the constructor used on the machine where the debuggee
process lies
|
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) |
clone, exportObject, exportObject, exportObject, unexportObject
public RemoteDebuggerServer() throws java.rmi.RemoteException
java.rmi.RemoteException
public RemoteDebuggerServer(Debugger debugger) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String getOS() throws java.rmi.RemoteException
getOS
in interface RemoteDebugger
java.rmi.RemoteException
public java.lang.String getCPU() throws java.rmi.RemoteException
getCPU
in interface RemoteDebugger
java.rmi.RemoteException
public MachineDescription getMachineDescription() throws java.rmi.RemoteException
getMachineDescription
in interface RemoteDebugger
java.rmi.RemoteException
public long lookupInProcess(java.lang.String objectName, java.lang.String symbol) throws java.rmi.RemoteException
lookupInProcess
in interface RemoteDebugger
java.rmi.RemoteException
public ReadResult readBytesFromProcess(long address, long numBytes) throws java.rmi.RemoteException
readBytesFromProcess
in interface RemoteDebugger
java.rmi.RemoteException
public boolean hasConsole() throws java.rmi.RemoteException
hasConsole
in interface RemoteDebugger
java.rmi.RemoteException
public java.lang.String getConsolePrompt() throws java.rmi.RemoteException
getConsolePrompt
in interface RemoteDebugger
java.rmi.RemoteException
public java.lang.String consoleExecuteCommand(java.lang.String cmd) throws java.rmi.RemoteException
consoleExecuteCommand
in interface RemoteDebugger
java.rmi.RemoteException
public long getJBooleanSize() throws java.rmi.RemoteException
getJBooleanSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getJByteSize() throws java.rmi.RemoteException
getJByteSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getJCharSize() throws java.rmi.RemoteException
getJCharSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getJDoubleSize() throws java.rmi.RemoteException
getJDoubleSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getJFloatSize() throws java.rmi.RemoteException
getJFloatSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getJIntSize() throws java.rmi.RemoteException
getJIntSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getJLongSize() throws java.rmi.RemoteException
getJLongSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getJShortSize() throws java.rmi.RemoteException
getJShortSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getHeapOopSize() throws java.rmi.RemoteException
getHeapOopSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getNarrowOopBase() throws java.rmi.RemoteException
getNarrowOopBase
in interface RemoteDebugger
java.rmi.RemoteException
public int getNarrowOopShift() throws java.rmi.RemoteException
getNarrowOopShift
in interface RemoteDebugger
java.rmi.RemoteException
public long getKlassPtrSize() throws java.rmi.RemoteException
getKlassPtrSize
in interface RemoteDebugger
java.rmi.RemoteException
public long getNarrowKlassBase() throws java.rmi.RemoteException
getNarrowKlassBase
in interface RemoteDebugger
java.rmi.RemoteException
public int getNarrowKlassShift() throws java.rmi.RemoteException
getNarrowKlassShift
in interface RemoteDebugger
java.rmi.RemoteException
public boolean areThreadsEqual(long addrOrId1, boolean isAddress1, long addrOrId2, boolean isAddress2) throws java.rmi.RemoteException
areThreadsEqual
in interface RemoteDebugger
java.rmi.RemoteException
public int getThreadHashCode(long addrOrId, boolean isAddress) throws java.rmi.RemoteException
getThreadHashCode
in interface RemoteDebugger
java.rmi.RemoteException
public long[] getThreadIntegerRegisterSet(long addrOrId, boolean isAddress) throws java.rmi.RemoteException
getThreadIntegerRegisterSet
in interface RemoteDebugger
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.