Added debug trace