A new preprint on arXiv examines a familiar but understudied artifact: the temporary print or log statements developers add while debugging. These ad-hoc logs are rarely meant to survive, yet they sometimes end up committed to shared codebases.
The paper argues that these accidental leftovers are not just noise. Because they show where developers looked and what they expected to observe, they can reveal how programmers reason about unfamiliar or failing code.
The authors focus on situations that prompt ad-hoc logging, particularly unexpected issues and complex control flows. In those moments, the logs become traces of the questions developers are asking about the program at runtime.