How to debug a path planner plugin in move base? (Qt Creator)

asked 2019-06-11 10:18:56 -0600

ce_guy gravatar image

updated 2019-06-11 10:27:34 -0600

Hello guys,

I am developing a local planner at the moment and I want to debug it while it is running in move base.

At the moment I am using launch-prefix="gdb -ex run --args" in the launch file for the move_base node and afterwards I am connecting via Debug > Start Debugging > Attach to Running Application and choose my move_base_node in the QtCreator. I have activated ptrace and my workspace is build as a debug build.

In my planner I have several breakpoints set and I know that the methods are called (because I print a message when I go in and out) but the debugger never stops at a break points. I even build move base in my own catkin workspace but debugging does not work there too.

Does anyone how to debug a path planner plugin in move_base?

Thanks in advance!

Best regards

edit retag flag offensive close merge delete