debugging in resoucea