debug instrumentation for locate time