|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.debugger.Breakpoint org.netbeans.api.debugger.jpda.JPDABreakpoint org.netbeans.api.debugger.jpda.ClassLoadUnloadBreakpoint
Notifies about class load and class unload events.
How to use it:
DebuggerManager.addBreakpoint (ClassLoadUnloadBreakpoint.create ( "org.netbeans.modules.editor.*", false, ClassLoadUnloadBreakpoint.TYPE_CLASS_LOADED ));This breakpoint stops when some class from org.netbeans.modules.editor package is loaded.
Field Summary | |
static String |
PROP_BREAKPOINT_TYPE
Name of property for breakpoint type. |
static String |
PROP_CLASS_EXCLUSION_FILTERS
Property name constant |
static String |
PROP_CLASS_FILTERS
Property name constant |
static int |
TYPE_CLASS_LOADED
Catch type property value constant. |
static int |
TYPE_CLASS_LOADED_UNLOADED
Catch type property value constant. |
static int |
TYPE_CLASS_UNLOADED
Catch type property value constant. |
Fields inherited from class org.netbeans.api.debugger.jpda.JPDABreakpoint |
PROP_HIDDEN, PROP_PRINT_TEXT, PROP_SUSPEND, SUSPEND_ALL, SUSPEND_EVENT_THREAD, SUSPEND_NONE |
Fields inherited from class org.netbeans.api.debugger.Breakpoint |
PROP_DISPOSED, PROP_ENABLED, PROP_GROUP_NAME |
Method Summary | |
static ClassLoadUnloadBreakpoint |
create(int breakpointType)
Creates a new breakpoint for given parameters. |
static ClassLoadUnloadBreakpoint |
create(String classNameFilter,
boolean isExclusionFilter,
int breakpointType)
Creates a new breakpoint for given parameters. |
int |
getBreakpointType()
Returns type of breakpoint. |
String[] |
getClassExclusionFilters()
Get list of class exclusion filters to stop on. |
String[] |
getClassFilters()
Get list of class filters to stop on. |
void |
setBreakpointType(int type)
Sets type of breakpoint. |
void |
setClassExclusionFilters(String[] classExclusionFilters)
Set list of class exclusion filters to stop on. |
void |
setClassFilters(String[] classFilters)
Set list of class filters to stop on. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class org.netbeans.api.debugger.jpda.JPDABreakpoint |
addJPDABreakpointListener, disable, enable, getPrintText, getSuspend, isEnabled, isHidden, removeJPDABreakpointListener, setHidden, setPrintText, setSuspend |
Methods inherited from class org.netbeans.api.debugger.Breakpoint |
addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, getGroupName, removePropertyChangeListener, removePropertyChangeListener, setGroupName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String PROP_CLASS_FILTERS
public static final String PROP_CLASS_EXCLUSION_FILTERS
public static final String PROP_BREAKPOINT_TYPE
public static final int TYPE_CLASS_LOADED
public static final int TYPE_CLASS_UNLOADED
public static final int TYPE_CLASS_LOADED_UNLOADED
Method Detail |
public static ClassLoadUnloadBreakpoint create(String classNameFilter, boolean isExclusionFilter, int breakpointType)
classNameFilter
- class name filterisExclusionFilter
- if true filter is used as exclusion filterbreakpointType
- one of constants: TYPE_CLASS_LOADED,
TYPE_CLASS_UNLOADED, TYPE_CLASS_LOADED_UNLOADED
public static ClassLoadUnloadBreakpoint create(int breakpointType)
breakpointType
- one of constants: TYPE_CLASS_LOADED,
TYPE_CLASS_UNLOADED, TYPE_CLASS_LOADED_UNLOADED
public int getBreakpointType()
public void setBreakpointType(int type)
type
- a new value of breakpoint type propertypublic String[] getClassFilters()
public void setClassFilters(String[] classFilters)
classFilters
- a new value of class filters propertypublic String[] getClassExclusionFilters()
public void setClassExclusionFilters(String[] classExclusionFilters)
classExclusionFilters
- a new value of class exclusion filters propertypublic String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |