On Tue, Aug 3, 2010 at 7:51 AM, Dejan Pangercic wrote: > So without any debug symbols. I then tried to re-build the pcl by > explicitly enabling the Debug directive (by setting "set > (ROS_BUILD_TYPE Debug)") but still without any success. > So my question is I guess how can I debug this code without having to > pollute the convertCloudToArray function with cerr-s? Setting ROS_BUILD_TYPE to Debug should be sufficient to get debug symbols in the resulting binaries. When you say, "without any success," what exactly happened? I assume that you rebuilt pcl after changing ROS_BUILD_TYPE? brian.