| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private RemoteDebugger | |
| private RemoteThreadFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| public void | attach(int processID)
Implements sun. Unimplemented in this class (remote remoteDebugger should already be attached) |
| public void | attach(String executableName, String coreFileName)
Implements sun. Unimplemented in this class (remote remoteDebugger should already be attached) |
| public void | configureJavaPrimitiveTypeSizes(long jbooleanSize, long jbyteSize, long jcharSize, long jdoubleSize, long jfloatSize, long jintSize, long jlongSize, long jshortSize)
Overrides sun. Implements sun. Unimplemented in this class (remote remoteDebugger should already be configured) |
| public String | consoleExecuteCommand(String cmd)
Implements sun. If the underlying debugger has a console (as dbx does), this provides access to it. |
| public boolean | detach()
Implements sun. Unimplemented in this class (remote remoteDebugger can not be detached) |
| public String | |
| public String | findSymbol(String symbol)
Overrides sun. Implements sun. Find address and executable which contains symbol. |
| public long | getAddressValue(Address addr)
Implements sun. Returns the 64-bit value of an Address. |
| public CDebugger | getCDebugger()
Implements sun. If this platform supports C/C++ debugging via the CDebugger interface, returns a CDebugger object; otherwise returns null. |
| public String | getConsolePrompt()
Implements sun. If the underlying debugger has a console, this returns the debugger-specific prompt which should be displayed. |
| public String | |
| public MachineDescription | getMachineDescription()
Implements sun. Retrieve the machine description for the underlying hardware for the cases in which we need to do, for example, machine-dependent byte swapping |
| public String | |
| public List | getProcessList()
Implements sun. Unimplemented in this class (remote remoteDebugger should already be attached) |
| public int | |
| public ThreadProxy | getThreadForIdentifierAddress(Address addr)
Implements sun. Gets an abstract ThreadProxy object for the thread identified by the contents of the memory location pointed to by addr. |
| public ThreadProxy | getThreadForThreadId(long id)
Implements sun. Gets an abstract ThreadProxy object for the thread identified by id or handle that is platform dependent |
| pack-priv int | |
| pack-priv int | |
| public long[] | |
| public long[] | |
| public boolean | hasConsole()
Implements sun. Find out whether this debugger has a console available on which commands can be executed; see executeCommandOnConsole, below. |
| public boolean | hasProcessList()
Implements sun. Unimplemented in this class (remote remoteDebugger should already be attached) |
| public Address | lookup(String objectName, String symbol)
Implements sun. Looks up the given symbol in the context of the given object. |
| public OopHandle | lookupOop(String objectName, String symbol)
Implements sun. Looks up the given symbol in the context of the given object, assuming that symbol refers to a Java object. |
| public Address | |
| public Address | parseAddress(String addressString)
Implements sun. Parse an address from a hex string in the format "0xFFFFFFFF". |
| pack-priv RemoteAddress | |
| public ReadResult | readBytesFromProcess(long address, long numBytes)
Implements sun. This reads bytes from the remote process. |
| pack-priv RemoteAddress | |
| pack-priv RemoteAddress | |
| pack-priv RemoteOopHandle | |
| pack-priv RemoteOopHandle | |
| public void |
| cacheSize | back to summary |
|---|---|
| private static final int cacheSize | |
| remoteDebugger | back to summary |
|---|---|
| private RemoteDebugger remoteDebugger | |
| threadFactory | back to summary |
|---|---|
| private RemoteThreadFactory threadFactory | |
| RemoteDebuggerClient | back to summary |
|---|---|
| public RemoteDebuggerClient(RemoteDebugger remoteDebugger) throws DebuggerException | |
| addressValueToString | back to summary |
|---|---|
| public String addressValueToString(long addr) | |
| areThreadsEqual | back to summary |
|---|---|
| pack-priv boolean areThreadsEqual(Address addr1, Address addr2) | |
| areThreadsEqual | back to summary |
|---|---|
| pack-priv boolean areThreadsEqual(long id1, long id2) | |
| areThreadsEqual | back to summary |
|---|---|
| pack-priv boolean areThreadsEqual(Address addr1, long id2) | |
| areThreadsEqual | back to summary |
|---|---|
| pack-priv boolean areThreadsEqual(long id1, Address addr2) | |
| attach | back to summary |
|---|---|
| public void attach(int processID) throws DebuggerException Implements sun. Unimplemented in this class (remote remoteDebugger should already be attached) | |
| attach | back to summary |
|---|---|
| public void attach(String executableName, String coreFileName) throws DebuggerException Implements sun. Unimplemented in this class (remote remoteDebugger should already be attached) | |
| configureJavaPrimitiveTypeSizes | back to summary |
|---|---|
| public void configureJavaPrimitiveTypeSizes(long jbooleanSize, long jbyteSize, long jcharSize, long jdoubleSize, long jfloatSize, long jintSize, long jlongSize, long jshortSize) Overrides sun. Implements sun. Unimplemented in this class (remote remoteDebugger should already be configured) | |
| consoleExecuteCommand | back to summary |
|---|---|
| public String consoleExecuteCommand(String cmd) throws DebuggerException Implements sun. Doc from sun. If the underlying debugger has a console (as dbx does), this provides access to it. Takes in a platform-dependent String, executes it on the debugger's console, and returns any output as a String. | |
| detach | back to summary |
|---|---|
| public boolean detach() Implements sun. Unimplemented in this class (remote remoteDebugger can not be detached) | |
| execCommandOnServer | back to summary |
|---|---|
| public String execCommandOnServer(String command, Map<String, Object> options) | |
| findSymbol | back to summary |
|---|---|
| public String findSymbol(String symbol) Overrides sun. Implements sun. Doc from sun. Find address and executable which contains symbol.
| |
| getAddressValue | back to summary |
|---|---|
| public long getAddressValue(Address addr) throws DebuggerException Implements sun. Doc from sun. Returns the 64-bit value of an Address. This method should ONLY be used when implementing a debugger which needs to interface to C and which needs a unique identifier for certain objects. | |
| getCDebugger | back to summary |
|---|---|
| public CDebugger getCDebugger() throws DebuggerException Implements sun. Doc from sun. If this platform supports C/C++ debugging via the CDebugger interface, returns a CDebugger object; otherwise returns null. | |
| getConsolePrompt | back to summary |
|---|---|
| public String getConsolePrompt() throws DebuggerException Implements sun. Doc from sun. If the underlying debugger has a console, this returns the debugger-specific prompt which should be displayed. | |
| getCPU | back to summary |
|---|---|
| public String getCPU() Implements sun. Doc from sun. Support for remote debugging. Get the name of the CPU type on which this debugger is running (to be able to properly configure the local system). Typical return value is "amd64"; see utilities/PlatformInfo.java. | |
| getMachineDescription | back to summary |
|---|---|
| public MachineDescription getMachineDescription() throws DebuggerException Implements sun. Doc from sun. Retrieve the machine description for the underlying hardware for the cases in which we need to do, for example, machine-dependent byte swapping | |
| getOS | back to summary |
|---|---|
| public String getOS() throws DebuggerException Implements sun. Doc from sun. Support for remote debugging. Get the name of the operating system on which this debugger is running (to be able to properly configure the local system). Typical return values are "linux", "win32"; see utilities/PlatformInfo.java. | |
| getProcessList | back to summary |
|---|---|
| public List Implements sun. Unimplemented in this class (remote remoteDebugger should already be attached) | |
| getRemoteProcessAddressSize | back to summary |
|---|---|
| public int getRemoteProcessAddressSize() | |
| getThreadForIdentifierAddress | back to summary |
|---|---|
| public ThreadProxy getThreadForIdentifierAddress(Address addr) Implements sun. Doc from sun. Gets an abstract ThreadProxy object for the thread identified by the contents of the memory location pointed to by addr. The contents at location addr are inherently platform-dependent; see the documentation for this class for more information. FIXME: what exception, if any, should this throw? | |
| getThreadForThreadId | back to summary |
|---|---|
| public ThreadProxy getThreadForThreadId(long id) Implements sun. Doc from sun. Gets an abstract ThreadProxy object for the thread identified by id or handle that is platform dependent | |
| getThreadHashCode | back to summary |
|---|---|
| pack-priv int getThreadHashCode(Address a) | |
| getThreadHashCode | back to summary |
|---|---|
| pack-priv int getThreadHashCode(long id) | |
| getThreadIntegerRegisterSet | back to summary |
|---|---|
| public long[] getThreadIntegerRegisterSet(Address addr) | |
| getThreadIntegerRegisterSet | back to summary |
|---|---|
| public long[] getThreadIntegerRegisterSet(long id) | |
| hasConsole | back to summary |
|---|---|
| public boolean hasConsole() throws DebuggerException Implements sun. Doc from sun. Find out whether this debugger has a console available on which commands can be executed; see executeCommandOnConsole, below. This is an interim routine designed to allow access to the underlying dbx process on Solaris until we have disassembly, etc. in the SA. | |
| hasProcessList | back to summary |
|---|---|
| public boolean hasProcessList() throws DebuggerException Implements sun. Unimplemented in this class (remote remoteDebugger should already be attached) | |
| lookup | back to summary |
|---|---|
| public Address lookup(String objectName, String symbol) Implements sun. Doc from sun. Looks up the given symbol in the context of the given object. FIXME: we may want to hide the objectName so the user does not have to specify it, but it isn't clear whether this will work transparently with dbx. FIXME: what happens if the address is not found? Throw exception? Currently returns null. | |
| lookupOop | back to summary |
|---|---|
| public OopHandle lookupOop(String objectName, String symbol) Implements sun. Doc from sun. Looks up the given symbol in the context of the given object, assuming that symbol refers to a Java object. FIXME: still not sure whether this will be necessary. Seems that lookup of static fields with type "oop" already works, since the lookup routine returns the address of the oop (i.e., an oopDesc**). FIXME: we may want to hide the objectName so the user does not have to specify it, but it isn't clear whether this will work transparently with dbx. FIXME: what happens if the address is not found? Throw exception? Currently returns null. | |
| newAddress | back to summary |
|---|---|
| public Address newAddress(long value) Implements sun. | |
| parseAddress | back to summary |
|---|---|
| public Address parseAddress(String addressString) throws NumberFormatException Implements sun. Doc from sun. Parse an address from a hex string in the format "0xFFFFFFFF". The length of the address (i.e., 32 or 64 bits) is platform dependent. This method should ONLY be used by routines which need to interact with the user and parse a string entered by hand; for example, a graphical user interface. This routine should NOT be used to subvert the current safety mechanisms in the system which prevent arbitrary conversion from Address to long and back. | |
| readAddress | back to summary |
|---|---|
| pack-priv RemoteAddress readAddress(long address) throws UnmappedAddressException, UnalignedAddressException | |
| readBytesFromProcess | back to summary |
|---|---|
| public ReadResult readBytesFromProcess(long address, long numBytes) Implements sun. This reads bytes from the remote process. | |
| readCompKlassAddress | back to summary |
|---|---|
| pack-priv RemoteAddress readCompKlassAddress(long address) throws UnmappedAddressException, UnalignedAddressException | |
| readCompOopAddress | back to summary |
|---|---|
| pack-priv RemoteAddress readCompOopAddress(long address) throws UnmappedAddressException, UnalignedAddressException | |
| readCompOopHandle | back to summary |
|---|---|
| pack-priv RemoteOopHandle readCompOopHandle(long address) throws UnmappedAddressException, UnalignedAddressException, NotInHeapException | |
| readOopHandle | back to summary |
|---|---|
| pack-priv RemoteOopHandle readOopHandle(long address) throws UnmappedAddressException, UnalignedAddressException, NotInHeapException | |
| setMachineDescription | back to summary |
|---|---|
| public void setMachineDescription(MachineDescription machDesc) | |