How do I use the GDB debugger?
I can't work out how the GDB debugger works (pretty new to programming). My movearmtoposegoal 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 constraintsawarekinematics 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.
Asked by paturdc on 2014-04-29 03:05:16 UTC
Answers
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
.
Asked by 130s on 2015-04-24 23:50:59 UTC
Comments
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 :}Asked by Kamiccolo on 2014-04-29 05:58:29 UTC
Yes. Errors would show up in the x-term window? Or is there a log file?
Asked by paturdc on 2014-04-29 06:15:57 UTC