debug()的功用

debug()的作用case APP_RESUME_A2DP:MAIN_DEBUG((APP_RESUME_A2DP\n))streamControlBeginA2dpStreaming

debug()的作用
        case APP_RESUME_A2DP:
        MAIN_DEBUG(("APP_RESUME_A2DP\n"));
        streamControlBeginA2dpStreaming();
        break;
case APP_AVRCP_CONTROLS:
MAIN_DEBUG(("APP_AVRCP_CONTROLS\n"));
avrcpEventHandleControls((APP_AVRCP_CONTROLS_T*)message);
break;
  程序中MAIN_DEBUG( )的作用是什么 ?为什么每0一个case都会debug?新手求指教啊