ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hi, I'm not expert at all on these two tools, but for me it doesn't make sense to run together, as they help in different steps of the development cycle.

  • I first use gdb when I want to understand what my program does, specially if it crashes.
  • And I use valgrind once my program works to detect memory leaks and performance bottlenecks.