cursor: add tracing.