1. Removed #ifdef SNP_DEBUG and used debug lib to output information