Robotics StackExchange | Archived questions

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

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 movebase node and afterwards I am connecting via Debug > Start Debugging > Attach to Running Application and choose my movebase_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

Asked by ce_guy on 2019-06-11 10:18:56 UTC

Comments

Answers