ComposableNode gdb debugging
Hi, I've spend a day or so, looking for a way to debug composable node.
When a node is created with rclcpp_components_register_nodes
there's no exe file generated, as documentation states:
https://docs.ros2.org/foxy/api/rclcpp...
So ros2 run
can't start this node. Only ros2 component standalone
works here. But this command doesn't support --prefix
argument.
running gdb python ros2 component standalone localization names::LocalizationNode
doesn't work for me either.
Do You have any suggestions?
did you manage to get a gdbserver started for a composable node yet?
Nope. I worked it around: building an exe, and than debugging executable file.