Ask Your Question
0

Gedit roscpp debugger? [closed]

asked 2014-08-08 16:25:03 -0600

randylewis7 gravatar image

Hello, I'm writing some nodes in roscpp using gedit. I'm encountering some errors, and am getting tired of tracing them using print statements. I would like to use a debugger to fix my code, but am not sure exactly how to go about this in gedit (and also in ROS, if that makes a difference). I've read a little about GDB, but am not sure how to integrate it into gedit, and again, I'm not sure if the fact that I'm writing ROS nodes rather than regular C++ stuff makes things more complicated.

Anyone have any ideas?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by randylewis7
close date 2014-08-12 15:46:29.218345

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-08-10 08:42:02 -0600

Chrissi gravatar image

updated 2014-08-12 04:14:49 -0600

gedit is just a text editor and I doubt that there is a debugger plugin for that. Try using a propper IDE like qtcreator (sudo apt-get install qtcreator) which naturally understand CMakeLists.txt files so there is no set-up needed. Just run it from the terminal with qtcreator my_catkin_ws/src/CMakeLists.txt.

See this answer on how to use the debugger.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2014-08-08 16:25:03 -0600

Seen: 105 times

Last updated: Aug 12 '14