public final class ActiveBreakpoints extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROP_BREAKPOINTS_ACTIVE
Property change fired when breakpoints activation/deactivation changes.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener to be notified about properties
defined as PROP_* constants.
|
boolean |
areBreakpointsActive()
Test if the engine's breakpoints are currently active.
|
boolean |
canDeactivateBreakpoints()
Test if breakpoint deactivation is supported.
|
static ActiveBreakpoints |
get(DebuggerEngine debuggerEngine)
Get an ActiveBreakpoints instance for a debugger engine.
|
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a property change listener.
|
void |
setBreakpointsActive(boolean active)
Activate or deactivate breakpoints handled by this debugger engine.
|
public static final String PROP_BREAKPOINTS_ACTIVE
public static ActiveBreakpoints get(DebuggerEngine debuggerEngine)
debuggerEngine
- the debugger engine.BreakpointsActivationProvider
provided in it's lookup.public boolean canDeactivateBreakpoints()
false
is returned, setBreakpointsActive(boolean)
throws UnsupportedOperationException when called with false argument.true
when engine-related breakpoints can be deactivated,
false
otherwise.public boolean areBreakpointsActive()
true
when breakpoints are active,
false
otherwise.public void setBreakpointsActive(boolean active) throws UnsupportedOperationException
active
- true
to activate breakpoints,
false
to deactivate them.UnsupportedOperationException
- when there is an attempt to deactivate
breakpoints even though canDeactivateBreakpoints()
return falsepublic final void addPropertyChangeListener(PropertyChangeListener l)
l
- a property change listenerpublic final void removePropertyChangeListener(PropertyChangeListener l)
l
- a property change listenerBuilt on October 25 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.