for (final DebugEvent event : events) {
if (event.getKind() == DebugEvent.MODEL_SPECIFIC
&& event.getDetail() == ErlangDebugTarget.TRACE_CHANGED) {
final Object source = event.getSource();
if (source instanceof ErlangDebugTarget) {
final TraceChangedEventData data = (TraceChangedEventData) event
.getData();
traceChanged(data, source);
}
}
}