|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMemoryBlock
A contiguous segment of memory in an execution context. A memory block is represented by a starting memory address and a length. Not all debug architectures support the retrieval of memory blocks.
Clients may implement this interface.
IMemoryBlockRetrieval| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
|---|
getDebugTarget, getLaunch, getModelIdentifier |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Method Detail |
|---|
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 values
DebugException - if this method fails. Reasons include:
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.