public interface IMemoryBlock extends IDebugElement
Clients may implement this interface.
IMemoryBlockRetrieval
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Returns the values of the bytes currently contained
in this this memory block.
|
long |
getLength()
Returns the length of this memory block in bytes.
|
long |
getStartAddress()
Returns the start address of this memory block.
|
void |
setValue(long offset,
byte[] bytes)
Sets the value of the bytes in this memory block at the specified
offset within this memory block to the specified bytes.
|
boolean |
supportsValueModification()
Returns whether this memory block supports value modification
|
getDebugTarget, getLaunch, getModelIdentifier
getAdapter
long getStartAddress()
long getLength()
byte[] getBytes() throws DebugException
DebugException
- if this method fails. Reasons include:
boolean supportsValueModification()
void setValue(long offset, byte[] bytes) throws DebugException
offset
- the offset at which to set the new valuesbytes
- the new valuesDebugException
- if this method fails. Reasons include:
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.