use eDebug instead of printf