Enabling step-by-step tracing in code