Debugging Tool based on Statistical Analysis