Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

microsoft/image-watch

Repository files navigation

Image Watch for Visual Studio

Visual Studio extension providing a watch window for visualizing in-memory images (bitmaps) when debugging native C++ code.

Required Workloads and Components

Workloads

  • .NET Desktop Development
  • Desktop Development with C++
  • Visual Studio Extension Development

Components

  • C++ Spectre Mitigated libraries for x64/86 (Latest MSVC)
  • Windows 10 SDK
  • .NET Framework 4.7.2 targeting pack

Getting started

  1. Open ImageWatch.sln in Visual Studio 2022 or later.
  2. Choose Debug or Release configuration.
  3. Select "Build" > "Build Solution".
  4. To run tests:
    • Open "Test" > "Test Explorer".
    • Select "Run All ..." or "Run".
      • Note: Tests can be grouped by Traits; Categories "Perf" and "Slow" might be better suited for Release configuration.
  5. To run the extension:
    • Open context menu for ImageWatch.Packaging project in Solution Explorer.
    • Select "Set as Startup Project".
    • Select "Debug" > "Start Debugging"

Additional notes

Project Test/ConsoleApplication1 is provided as a sample OpenCV application to manually test Image Watch functionality on. Once its required dependencies are acquired (e.g., through vcpkg), it can be added to the solution build via "Build" > "Configuration Manager".

About

The Image Watch Visual Studio extension

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors