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

Revision history [back]

I am not sure I understand your question, if you want to debug it with gdb, open a new terminal, type cd ~/<enter-your-package-path>/bin (or wherever the executable is) and then run the command: $ gdb node-name. gdb will launch and then you could type: run to run it or you could set breakpoints in your code by typing : break line-number , and whenever it stops at a break point you could type : continue to go to the next breakpoint. I am not sure if this answers your question but I hope it helps!