How to debug plugins with GDB in ROS
Hi, all !
I am still a novice in debugging. I ran into the problem of writing my own global planner plugin and keeps popping out error, such as the one found on my other question, or the one below not even giving any explicit complain upon crashing:
[move_base-1] process has died [pid 10503, exit code -11 (...)]
I managed to open an external GDB window for debugging following the instruction on this tutorial. At this point it is pretty clear how to debug a certain node, but then my question is, since what I want is to debug a plugin (not the way presented with this question ,duh !!), what should the proper way to do so with GDB? Or do I need to make the plugin as a certain node to better debug it ? Thanks !