Ask Your Question

Debug with gdb a ROS plugins for Gazebo

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

Ste gravatar image

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

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 -0500

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 892 times

Last updated: Apr 04 '14