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

Debug with gdb a ROS plugins for Gazebo

asked 2014-04-03 12:28:42 -0600

Ste gravatar image

updated 2016-10-24 09:10:49 -0600

ngrennan gravatar image

Hi, i have ROS Hydro, Gazebo 1.9 on Ubuntu 13.04. I would debut ROS plugins wrote by me for Gazebo with gdb. I would insert breakpoints and step through a Gazebo plugin. How can i do this ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-04 00:37:15 -0600

demmeln gravatar image

There is a debug script in the gazebo_ros package which you can use in place of gzserevre to start gazebo with gdb. Now how you use gdb is outside the scope of this forum. I suggest googling. There is a ton of documentation on using gdb out there.

edit flag offensive delete link more


Several of the standard launch files support launching with the argument debug:=true to launch gazebo in gdb.

tfoote gravatar image tfoote  ( 2016-10-31 16:01:47 -0600 )edit

Question Tools

1 follower


Asked: 2014-04-03 12:28:42 -0600

Seen: 1,045 times

Last updated: Apr 04 '14