> But I need to debug the program of Checking collisions for a given robot > state, which is using python and c++ together and is a distributed program. > I used gdb to debug......but failed. > > Who can give me some advices? Thank you. To debug an individual binary gdb can indeed be useful. But I assume you want introspection in the interaction between your different ROS nodes. ROS has many tools that will help you with debugging (e.g. rostopic, rviz, ...). The wiki has lots of useful documentation. As a starting point, I'd recommend going through the tutorials . Good luck! Wim -- -- Wim Meeussen Willow Garage Inc.