added some mdp client debug macros