User forums > Using Code::Blocks
About cb's debugger
ollydbg:
--- Quote from: scarphin on November 12, 2014, 10:53:51 am ---@ollydbg: Thanks for the info, much appreciated. Out of curiosity what pretty-printers do you use for OpenCV? I didn't know there existed any!
--- End quote ---
There are many: renatoGarcia/gdb-imshow and his recent post: Visualizing OpenCV Images on GDB
I'm also implementing one(but not finished yet, once finished, I will released it under some free software license), see related discussion: GDB cv::Mat python object issue when debugging a c++ program and Non blocking pyplot GUI for GDB python pretty printer.
With python support, I think we can do everything when debugging under GDB.
scarphin:
Wow, those links are extremely useful. I always use 'imshow' to see the images but it's quite hard to debug using 'imshow'. But with those python scripts I think debugging opencv will be much easier. Thanks again for the information. ;)
oBFusCATed:
scarphin: Your patch is committed thanks for it...
scarphin:
Glad it worked. ;)
Another issue: I can't dereference a function argument (pointer type) in the 'watch list->function arguments'. I can dereference the same function argument if I add it to the watch list manually though. Is this a limitation of automatic function arguments, intended or a bug?
oBFusCATed:
Intended. Or missing feature actually.
If you want to add this feature I'll happily look at the resulting patch :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version