|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.cdt.debug.internal.core.CMemoryBlockRetrievalExtension
public class CMemoryBlockRetrievalExtension
Implements the memory retrieval features based on the CDI model.
Constructor Summary | |
---|---|
CMemoryBlockRetrievalExtension(CDebugTarget debugTarget)
Constructor for CMemoryBlockRetrievalExtension. |
Method Summary | |
---|---|
static java.lang.String |
addressToString(java.math.BigInteger address,
java.lang.String memorySpaceID)
|
void |
dispose()
|
org.eclipse.debug.core.model.IMemoryBlockExtension |
getExtendedMemoryBlock(java.lang.String expression,
java.lang.Object selected)
|
java.lang.String |
getMemento()
|
org.eclipse.debug.core.model.IMemoryBlock |
getMemoryBlock(long startAddress,
long length)
|
org.eclipse.debug.core.model.IMemoryBlockExtension |
getMemoryBlockWithMemorySpaceID(java.lang.String address,
java.lang.String memorySpaceID,
java.lang.Object selected)
Variant of getExtendedMemoryBlock that takes a memory space ID. |
java.lang.String[] |
getMemorySpaces()
Get the list of available memory spaces from the CDI backend |
boolean |
hasMemorySpaces()
Checks the CDI backend to see is memory spaces are supported and actually available for the target process. |
void |
initialize()
|
void |
save()
|
static java.math.BigInteger |
stringToAddress(java.lang.String str,
java.lang.StringBuffer memorySpaceID_out)
|
boolean |
supportsStorageRetrieval()
|
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
---|
getAdapter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMemoryBlockRetrievalExtension(CDebugTarget debugTarget)
Method Detail |
---|
public void initialize()
public java.lang.String getMemento() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public org.eclipse.debug.core.model.IMemoryBlockExtension getExtendedMemoryBlock(java.lang.String expression, java.lang.Object selected) throws org.eclipse.debug.core.DebugException
getExtendedMemoryBlock
in interface org.eclipse.debug.core.model.IMemoryBlockRetrievalExtension
org.eclipse.debug.core.DebugException
public boolean supportsStorageRetrieval()
supportsStorageRetrieval
in interface org.eclipse.debug.core.model.IMemoryBlockRetrieval
public org.eclipse.debug.core.model.IMemoryBlock getMemoryBlock(long startAddress, long length) throws org.eclipse.debug.core.DebugException
getMemoryBlock
in interface org.eclipse.debug.core.model.IMemoryBlockRetrieval
org.eclipse.debug.core.DebugException
public org.eclipse.debug.core.model.IMemoryBlockExtension getMemoryBlockWithMemorySpaceID(java.lang.String address, java.lang.String memorySpaceID, java.lang.Object selected) throws org.eclipse.debug.core.DebugException
address
- - a numric address value, hex or decimal. An expression
(even something simple like 10000 +1) is not allowed.memorySpaceID
- - identifies the memory space; cannot be null.selected
- - the object selected in the Debug view
org.eclipse.debug.core.DebugException
public void save()
public void dispose()
public boolean hasMemorySpaces()
public java.lang.String[] getMemorySpaces()
public static java.lang.String addressToString(java.math.BigInteger address, java.lang.String memorySpaceID)
public static java.math.BigInteger stringToAddress(java.lang.String str, java.lang.StringBuffer memorySpaceID_out) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |