Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.junit;bundle-version="4.12.0";resolution:=optional,
org.simantics.scl.osgi;bundle-version="1.0.4",
- gnu.trove3;bundle-version="3.0.3"
+ gnu.trove3;bundle-version="3.0.3",
+ org.slf4j.api
Export-Package: org.simantics.simulation.sequences.action
import org.simantics.scl.runtime.SCLContext;
import org.simantics.scl.runtime.function.Function1;
import org.simantics.scl.runtime.tuple.Tuple0;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
public abstract class AbstractActionContext implements ActionContext {
+
+ private static final Logger LOGGER = LoggerFactory.getLogger(AbstractActionContext.class);
+
public static final double TIME_TOLERANCE = 1e-6;
double currentTime;
}
public void stop(StopReason reason) {
+ if (LOGGER.isTraceEnabled()) {
+ LOGGER.trace("stop context {}, reason={}", System.identityHashCode(this), reason, new Exception("trace"));
+ }
stopped = true;
handleStop(reason);
}