|
Eclipse JDT 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Java virtual machine.
Clients are not intended to implement this interface.
IDebugTarget
,
IAdaptable
Method Summary | |
IJavaVariable |
findVariable(String variableName)
Searches for and returns a variable with the given name, or null if unable to resolve a variable with the name. |
IJavaType[] |
getJavaTypes(String name)
Returns the types loaded in this debug target with the given fully qualified name, or null of no type with the given
name is loaded. |
int |
getRequestTimeout()
Returns the timeout value for JDI requests in milliseconds, or -1 if not supported. |
String[] |
getStepFilters()
Returns the list of active step filters in this target. |
boolean |
isFilterConstructors()
Returns whether constructors are filtered when stepping, if step filters are enabled. |
boolean |
isFilterStaticInitializers()
Returns whether static initializers are filtered when stepping, if step filters are enabled. |
boolean |
isFilterSynthetics()
Returns whether synthetic methods are filtered when stepping, if step filters are enabled. |
boolean |
isOutOfSynch()
Returns whether any of the threads associated with this debug target are running code in the VM that is out of synch with the code in the workspace. |
boolean |
isPerformingHotCodeReplace()
Returns whether this target is currently performing a hot code replace. |
boolean |
isStepFiltersEnabled()
Returns whether step filters are enabled in this target. |
boolean |
mayBeOutOfSynch()
Returns whether any of the threads associated with this debug target may be running code in the VM that is out of synch with the code in the workspace. |
IJavaValue |
newValue(boolean value)
Returns a value from this target that corresponds to the given boolean. |
IJavaValue |
newValue(byte value)
Returns a value from this target that corresponds to the given byte. |
IJavaValue |
newValue(char value)
Returns a value from this target that corresponds to the given char. |
IJavaValue |
newValue(double value)
Returns a value from this target that corresponds to the given double. |
IJavaValue |
newValue(float value)
Returns a value from this target that corresponds to the given float. |
IJavaValue |
newValue(int value)
Returns a value from this target that corresponds to the given int. |
IJavaValue |
newValue(long value)
Returns a value from this target that corresponds to the given long. |
IJavaValue |
newValue(short value)
Returns a value from this target that corresponds to the given short. |
IJavaValue |
newValue(String value)
Returns a value from this target that corresponds to the given string. |
IJavaValue |
nullValue()
Returns a value from this target that corresponds to null . |
void |
setFilterConstructors(boolean filter)
Sets whether to filter constructors when stepping. |
void |
setFilterStaticInitializers(boolean filter)
Sets whether to filter static initializers when stepping. |
void |
setFilterSynthetics(boolean filter)
Sets whether synthetic methods are filtered when stepping. |
void |
setRequestTimeout(int timeout)
Sets the timeout value for JDI requests in milliseconds. |
void |
setStepFilters(String[] list)
Sets the list of active step filters in this target. |
void |
setStepFiltersEnabled(boolean enabled)
Sets whether step filters are enabled in this target. |
boolean |
supportsHotCodeReplace()
Returns whether this target supports hot code replace. |
boolean |
supportsInstanceBreakpoints()
Returns whether this target supports instance breakpoints. |
boolean |
supportsMonitorInformation()
Returns whether this target supports providing monitor information. |
boolean |
supportsRequestTimeout()
Returns whether this debug target supports a request timeout - a maximum time for a JDI request to receive a response. |
IJavaValue |
voidValue()
Returns a value from this target that corresponds to void . |
Methods inherited from interface org.eclipse.debug.core.model.IDebugTarget |
getName, getProcess, getThreads, hasThreads, supportsBreakpoint |
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
getDebugTarget, getLaunch, getModelIdentifier |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Methods inherited from interface org.eclipse.debug.core.model.ITerminate |
canTerminate, isTerminated, terminate |
Methods inherited from interface org.eclipse.debug.core.model.ISuspendResume |
canResume, canSuspend, isSuspended, resume, suspend |
Methods inherited from interface org.eclipse.debug.core.IBreakpointListener |
breakpointAdded, breakpointChanged, breakpointRemoved |
Methods inherited from interface org.eclipse.debug.core.model.IDisconnect |
canDisconnect, disconnect, isDisconnected |
Methods inherited from interface org.eclipse.debug.core.model.IMemoryBlockRetrieval |
getMemoryBlock, supportsStorageRetrieval |
Method Detail |
public IJavaVariable findVariable(String variableName) throws DebugException
null
if unable to resolve a variable with the name.
Variable lookup works only when a debug target has one or more
threads suspended. Lookup is performed in each suspended thread,
returning the first successful match, or null
if no
match if found. If this debug target has no suspended threads,
null
is returned.
variableName
- name of the variablenull
if noneDebugException
- if this method fails. Reasons include:
public IJavaType[] getJavaTypes(String name) throws DebugException
null
of no type with the given
name is loaded.name
- fully qualified name of type, for example
java.lang.String
null
DebugException
- if this method fails. Reasons include:
public IJavaValue newValue(boolean value)
value
- a boolean from which to create a valuepublic IJavaValue newValue(byte value)
value
- a byte from which to create a valuepublic IJavaValue newValue(char value)
value
- a char from which to create a valuepublic IJavaValue newValue(double value)
value
- a double from which to create a valuepublic IJavaValue newValue(float value)
value
- a float from which to create a valuepublic IJavaValue newValue(int value)
value
- an int from which to create a valuepublic IJavaValue newValue(long value)
value
- a long from which to create a valuepublic IJavaValue newValue(short value)
value
- a short from which to create a valuepublic IJavaValue newValue(String value)
value
- a string from which to create a valuepublic IJavaValue nullValue()
null
.
The returned value can be used for setting
and comparing against a value retrieved from this debug target.null
public IJavaValue voidValue()
void
. The returned value can be used for setting
and comparing against a value retrieved from this debug target.void
public boolean isOutOfSynch() throws DebugException
DebugException
- if this method fails. Reasons include:
public boolean mayBeOutOfSynch() throws DebugException
DebugException
- if this method fails. Reasons include:
public boolean supportsHotCodeReplace()
public boolean isPerformingHotCodeReplace()
public boolean supportsInstanceBreakpoints()
public boolean isStepFiltersEnabled()
public void setStepFiltersEnabled(boolean enabled)
enabled
- whether step filters are enabled in this
targetpublic boolean isFilterSynthetics()
public void setFilterSynthetics(boolean filter)
filter
- whether to synthetic methods are filtered
when steppingpublic boolean isFilterStaticInitializers()
public void setFilterStaticInitializers(boolean filter)
filter
- whether to filter static initializers when
steppingpublic boolean isFilterConstructors()
public void setFilterConstructors(boolean filter)
filter
- whether to filter constructors when steppingpublic String[] getStepFilters()
java.lang.*
or
java.lang.String
.null
public void setStepFilters(String[] list)
java.lang.*
or
java.lang.String
.list
- active step filters, or null
public boolean supportsRequestTimeout()
public void setRequestTimeout(int timeout)
timeout
- the communication timeout, in millisecondspublic int getRequestTimeout()
public boolean supportsMonitorInformation()
|
Eclipse JDT 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |