How do you debug C++ applications on Linux?
I split my time between Windows development and Linux development. I'd like to know what types of debugging solutions are out there that work well for viewing cv::Mat data. I've grown rather dependent on Image Watch and I'd like to have similar functionality in Linux.
I made this python script that can dump an image and display it with a cv::imshow window, which is quite nice but there are some issues with it that I'm trying to sort out. http://dtmoodie.blogspot.com/2015/02/...
It's hard for me to believe that with so much Linux development of OpenCV that there isn't already a well known solution similar to Image Watch.
You made a good point. An Eclipse plugin would be nice, but I myself just use imshow's when developing/debugging.
a really nice tool to use for code analysis is the cppcheck. Moreover, there are plugins for the most of the known IDE's.
If you are using version 3.0, maybe cvv module from opencv_contrib can help (usage tutorial).
To build it you will need to install Qt5 libraries and pass
-DWITH_QT=ON
option to cmake.Thanks, these will both be very useful to me.