Ask Your Question

How do I use the GDB debugger?

asked 2014-04-29 03:05:16 -0500

paturdc gravatar image

updated 2014-04-29 03:05:43 -0500

I can't work out how the GDB debugger works (pretty new to programming). My move_arm_to_pose_goal node works a number of times, before crashing. I suspect a problem in KDLArmKinematicsPlugin, but I cannot tell what causes the process to die. I have run my constraints_aware_kinematics node using

launch-prefix="xterm -e gdb --args"

but nothing show up in the x-term window. Where do I look for errors?

I am running Fuerte, and the arm_navigation stack.

edit retag flag offensive close merge delete



Have You entered `run` command in that x-term window after running mentioned node? `launch-prefix="gdb -ex run --args"` does that automagically for You :}

Kamiccolo gravatar image Kamiccolo  ( 2014-04-29 05:58:29 -0500 )edit

Yes. Errors would show up in the x-term window? Or is there a log file?

paturdc gravatar image paturdc  ( 2014-04-29 06:15:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-24 23:50:59 -0500

130s gravatar image

What command do you exactly run to start your node?

launch-prefix can be used only in roslaunch context as the attribute name itself implies. Try running from roslaunch if you're not running your node via roslaunch.

edit flag offensive delete link more

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-29 03:05:16 -0500

Seen: 365 times

Last updated: Apr 24 '15