CodeLLDB + MSVC: When using CodeLLDB to debug MSVC-compiled code, point cloud visualization does not work because LLDB cannot correctly parse MSVC's STL implementation (std::vector size always returns 0). However, cv::Mat visualization works correctly.
CodeLLDB + GCC/Clang: If you compile with GCC or Clang (using libstdc++ or libc++), point cloud visualization may work, but this has not been tested.
cppvsdbg license: If you are using closed-source VS Code forks like Cursor, Qoder, or similar IDEs, you may need to use CodeLLDB for debugging MSVC-compiled code, as cppvsdbg may not be available in these environments. Note that point cloud visualization will not work in this case due to LLDB's limited support for MSVC STL.
Usage
Start a C++ debug session in VS Code
Set a breakpoint where OpenCV variables are in scope
In the Variables or Watch panel, right-click on a supported variable (cv::Mat or std::vector<cv::Point3f>)
Select "View by CV DebugMate" from the context menu
This extension is inspired by Image Watch, a popular Visual Studio extension for viewing images during debugging. CV DebugMate C++ brings similar functionality to Visual Studio Code, making it available for cross-platform C++ development.
License
MIT
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.