com.aptana.ide.debug.core.model
Interface IJSDebugTarget

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.IBreakpointListener, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IDebugTarget, org.eclipse.debug.core.model.IDisconnect, org.eclipse.debug.core.model.IMemoryBlockRetrieval, org.eclipse.debug.core.model.IStepFilters, org.eclipse.debug.core.model.ISuspendResume, org.eclipse.debug.core.model.ITerminate
All Known Implementing Classes:
JSDebugTarget

public interface IJSDebugTarget
extends org.eclipse.debug.core.model.IDebugTarget, org.eclipse.debug.core.model.IStepFilters

Author:
Max Stepanov

Method Summary
 java.lang.String computeValueDetails(org.eclipse.debug.core.model.IValue value)
          computeValueDetails
 java.lang.String getAttribute(java.lang.String key)
          Returns the value of a client defined attribute.
 java.lang.String[] getStepFilters()
          Returns the list of active step filters in this target.
 IJSScriptElement[] getTopScriptElements()
          getTopScriptElements
 boolean isFilterConstructors()
          Returns whether constructors are filtered when stepping, if step filters are enabled.
 void setAttribute(java.lang.String key, java.lang.String value)
          Sets the value of a client defined attribute.
 void setFilterConstructors(boolean filter)
          Sets whether to filter constructors when stepping.
 void setStepFilters(java.lang.String[] list)
          Sets the list of active step filters in this target.
 
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
 
Methods inherited from interface org.eclipse.debug.core.model.IStepFilters
isStepFiltersEnabled, setStepFiltersEnabled, supportsStepFilters
 

Method Detail

getTopScriptElements

IJSScriptElement[] getTopScriptElements()
getTopScriptElements

Returns:
IJSScriptElement[]

computeValueDetails

java.lang.String computeValueDetails(org.eclipse.debug.core.model.IValue value)
                                     throws org.eclipse.debug.core.DebugException
computeValueDetails

Parameters:
value -
Returns:
String
Throws:
org.eclipse.debug.core.DebugException

isFilterConstructors

boolean isFilterConstructors()
Returns whether constructors are filtered when stepping, if step filters are enabled.

Returns:
whether constructors are filtered when stepping

setFilterConstructors

void setFilterConstructors(boolean filter)
Sets whether to filter constructors when stepping.

Parameters:
filter - whether to filter constructors when stepping

getStepFilters

java.lang.String[] getStepFilters()
Returns the list of active step filters in this target. The list is a collection of Strings. Each string is the fully qualified name/pattern of a type/package to filter when stepping. For example java.lang.* or java.lang.String.

Returns:
the list of active step filters, or null

setStepFilters

void setStepFilters(java.lang.String[] list)
Sets the list of active step filters in this target. The list is a collection of Strings. Each string is the fully qualified name/pattern of a type/package to filter when stepping. For example java.lang.* or java.lang.String.

Parameters:
list - active step filters, or null

setAttribute

void setAttribute(java.lang.String key,
                  java.lang.String value)
Sets the value of a client defined attribute.

Parameters:
key - the attribute key
value - the attribute value

getAttribute

java.lang.String getAttribute(java.lang.String key)
Returns the value of a client defined attribute.

Parameters:
key - the attribute key
Returns:
value the attribute value, or null if undefined