@Override boolean isActive(EventContext context, SuspendAnchor suspendAnchor) { return current.isActive(context, suspendAnchor); }
@Override boolean isActive(EventContext context, SuspendAnchor suspendAnchor) { return current.isActive(context, suspendAnchor); }
@Override boolean isActiveAt(SuspendAnchor anchor) { SteppingStrategy steppingStrategy = getSteppingStrategy(Thread.currentThread()); if (steppingStrategy != null) { return steppingStrategy.isActive(context, anchor); } else { return false; } }
@Override boolean isActiveAt(SuspendAnchor anchor) { SteppingStrategy steppingStrategy = getSteppingStrategy(Thread.currentThread()); if (steppingStrategy != null) { return steppingStrategy.isActive(context, anchor); } else { return false; } }
/** * Like {@link #isActive(EventContext, SuspendAnchor)}, but is called on a node entry/return * only. It allows to include the node entry/return events to call entry/exit events for cases * when the step over/out is not determined by pushed frames only, but pushed nodes also. */ final boolean isActiveOnStepTo(EventContext context, SuspendAnchor suspendAnchor) { if (SuspendAnchor.BEFORE == suspendAnchor) { notifyNodeEntry(context); } else { notifyNodeExit(context); } return isActive(context, suspendAnchor); }
/** * Like {@link #isActive(EventContext, SuspendAnchor)}, but is called on a node entry/return * only. It allows to include the node entry/return events to call entry/exit events for cases * when the step over/out is not determined by pushed frames only, but pushed nodes also. */ final boolean isActiveOnStepTo(EventContext context, SuspendAnchor suspendAnchor) { if (SuspendAnchor.BEFORE == suspendAnchor) { notifyNodeEntry(context); } else { notifyNodeExit(context); } return isActive(context, suspendAnchor); }