| |
|
| org.netbeans.api.debugger.jpda.JPDABreakpoint org.netbeans.api.debugger.jpda.ClassLoadUnloadBreakpoint
ClassLoadUnloadBreakpoint | final public class ClassLoadUnloadBreakpoint extends JPDABreakpoint (Code) | | 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.
author: Jan Jancura |
PROP_BREAKPOINT_TYPE | final public static String PROP_BREAKPOINT_TYPE(Code) | | Name of property for breakpoint type.
|
PROP_CLASS_EXCLUSION_FILTERS | final public static String PROP_CLASS_EXCLUSION_FILTERS(Code) | | Property name constant
|
PROP_CLASS_FILTERS | final public static String PROP_CLASS_FILTERS(Code) | | Property name constant
|
TYPE_CLASS_LOADED | final public static int TYPE_CLASS_LOADED(Code) | | Catch type property value constant.
|
TYPE_CLASS_LOADED_UNLOADED | final public static int TYPE_CLASS_LOADED_UNLOADED(Code) | | Catch type property value constant.
|
TYPE_CLASS_UNLOADED | final public static int TYPE_CLASS_UNLOADED(Code) | | Catch type property value constant.
|
create | public static ClassLoadUnloadBreakpoint create(String classNameFilter, boolean isExclusionFilter, int breakpointType)(Code) | | Creates a new breakpoint for given parameters.
Parameters: classNameFilter - class name filter Parameters: isExclusionFilter - if true filter is used as exclusion filter Parameters: breakpointType - one of constants: TYPE_CLASS_LOADED, TYPE_CLASS_UNLOADED, TYPE_CLASS_LOADED_UNLOADED a new breakpoint for given parameters |
create | public static ClassLoadUnloadBreakpoint create(int breakpointType)(Code) | | Creates a new breakpoint for given parameters.
Parameters: breakpointType - one of constants: TYPE_CLASS_LOADED, TYPE_CLASS_UNLOADED, TYPE_CLASS_LOADED_UNLOADED a new breakpoint for given parameters |
getBreakpointType | public int getBreakpointType()(Code) | | Returns type of breakpoint.
type of breakpoint |
getClassExclusionFilters | public String[] getClassExclusionFilters()(Code) | | Get list of class exclusion filters to stop on.
list of class exclusion filters to stop on |
getClassFilters | public String[] getClassFilters()(Code) | | Get list of class filters to stop on.
list of class filters to stop on |
setBreakpointType | public void setBreakpointType(int type)(Code) | | Sets type of breakpoint.
Parameters: type - a new value of breakpoint type property |
setClassExclusionFilters | public void setClassExclusionFilters(String[] classExclusionFilters)(Code) | | Set list of class exclusion filters to stop on.
Parameters: classExclusionFilters - a new value of class exclusion filters property |
setClassFilters | public void setClassFilters(String[] classFilters)(Code) | | Set list of class filters to stop on.
Parameters: classFilters - a new value of class filters property |
toString | public String toString()(Code) | | Returns a string representation of this object.
a string representation of the object |
|
|
|