set errorDepth=0 in debug mode