Hi to all, Thanks for your help. But i'm very curious why there is only output from ROS_INFO and none from ROS_DEBUG although there is no error. --------------------------------------------Experiment.cpp------------------------------ #include int main(void){ ROS_DEBUG("Hello %s", "World"); ROS_DEBUG_STREAM("Hello " << "World"); ROS_INFO("%s", "World"); return 0; } ---------------------------------------------------------------------------------------------------- With thanks, Zhiping