public abstract class VMDebugTarget extends VMDebugElement implements IVMDebugTarget
Constructor and Description |
---|
VMDebugTarget(IProcess process,
IVMVirtualMachineShell vm) |
Modifier and Type | Method and Description |
---|---|
void |
addVMEventListener(VMEventListener listener) |
void |
breakpointAdded(IBreakpoint breakpoint) |
void |
breakpointChanged(IBreakpoint breakpoint,
IMarkerDelta delta) |
void |
breakpointManagerEnablementChanged(boolean enabled) |
void |
breakpointRemoved(IBreakpoint breakpoint,
IMarkerDelta delta) |
boolean |
canDisconnect() |
boolean |
canResume() |
boolean |
canSuspend() |
boolean |
canTerminate() |
void |
disconnect() |
IValue |
evaluate(String expressionText,
long frameID) |
IDebugTarget |
getDebugTarget() |
Collection<? extends IBreakpoint> |
getInstalledBreakpoints() |
ILaunch |
getLaunch() |
String |
getMainModuleName() |
IMemoryBlock |
getMemoryBlock(long startAddress,
long length) |
String |
getName() |
IProcess |
getProcess() |
IThread[] |
getThreads() |
IVMVirtualMachineShell |
getVM() |
void |
handleDebugEvents(DebugEvent[] events) |
boolean |
hasThreads() |
boolean |
isDisconnected() |
boolean |
isSuspended() |
boolean |
isTerminated() |
void |
killAfterTest()
This very brute force methhod is solely to clean up at the end of a test.
|
boolean |
removeVMEventListener(VMEventListener listener) |
void |
resume() |
VMResponse |
sendRequest(VMRequest request) |
boolean |
supportsBreakpoint(IBreakpoint breakpoint) |
boolean |
supportsStorageRetrieval() |
void |
suspend() |
void |
terminate() |
getDebugCore, getModelIdentifier, getOCLDebugTarget
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDebugCore
public VMDebugTarget(IProcess process, IVMVirtualMachineShell vm)
public Collection<? extends IBreakpoint> getInstalledBreakpoints()
public VMResponse sendRequest(VMRequest request) throws DebugException
sendRequest
in interface IVMDebugTarget
DebugException
public boolean isSuspended()
public IDebugTarget getDebugTarget()
public ILaunch getLaunch()
public IVMVirtualMachineShell getVM()
public IProcess getProcess()
public boolean hasThreads() throws DebugException
DebugException
public IThread[] getThreads() throws DebugException
DebugException
public String getName()
public boolean supportsBreakpoint(IBreakpoint breakpoint)
public boolean canTerminate()
public boolean isTerminated()
public void killAfterTest()
public void terminate() throws DebugException
DebugException
public String getMainModuleName()
public boolean canResume()
public boolean canSuspend()
public void resume() throws DebugException
DebugException
public void suspend() throws DebugException
DebugException
public void breakpointAdded(IBreakpoint breakpoint)
public void breakpointChanged(IBreakpoint breakpoint, IMarkerDelta delta)
public void breakpointRemoved(IBreakpoint breakpoint, IMarkerDelta delta)
public boolean canDisconnect()
public void disconnect() throws DebugException
DebugException
public boolean isDisconnected()
public boolean supportsStorageRetrieval()
public IMemoryBlock getMemoryBlock(long startAddress, long length) throws DebugException
DebugException
public void handleDebugEvents(DebugEvent[] events)
public void breakpointManagerEnablementChanged(boolean enabled)
public void addVMEventListener(VMEventListener listener)
addVMEventListener
in interface IVMDebugTarget
public boolean removeVMEventListener(VMEventListener listener)
removeVMEventListener
in interface IVMDebugTarget
public IValue evaluate(String expressionText, long frameID) throws CoreException
CoreException
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.