The Power of Granularity%3A Debugging Automation with Atomic Operations