ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
For debugging ROS nodes I use the same way as for any other C++ program: gdb/ddd/kdbg.
The spinning shouldn't be a problem, just start of with the message handler in the backtrace. This is under the assumption that you want to debug your ROS code and not the ROS core functionality, which I would consider mostly bug-free.