Read the series about the Machine Debug Manager:

Part 1 and Part 2.