What constitutes debugging? Empirical findings from live-coding streamstzanko.substack.com 3 pointsneprotivo1 year ago1 commentSaveHideCopy link On HNComments−neprotivoOP1yTLDR:* Debugging takes 35%-50% of a developer's time* In the study 79% of the time was spent on the top 26% of the bugs* Fresh bugs appearing during ongoing work take 3 minutes to fix on average. Committed bugs appearing in the issue tracker take 29 minutes on average* When running/testing during debugging sessions devs run the code manually (84%) rather than relying on automated tests* When inspecting program state devs rely on looking at logs and print statements 70% of the cases and in only 30% use a debugger
Comments
TLDR:
* Debugging takes 35%-50% of a developer's time
* In the study 79% of the time was spent on the top 26% of the bugs
* Fresh bugs appearing during ongoing work take 3 minutes to fix on average. Committed bugs appearing in the issue tracker take 29 minutes on average
* When running/testing during debugging sessions devs run the code manually (84%) rather than relying on automated tests
* When inspecting program state devs rely on looking at logs and print statements 70% of the cases and in only 30% use a debugger