Image Watch

Microsoft Free

Provides a watch window for visualizing in-memory images (bitmaps) when debugging native C++ code.

(43) Review
Visual Studio
2015, 2013, 2012
Download (51,168)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (43)
Q and A (91)
Sign in to write a review
Sort by:

by Luka Lukic | September 20 2015

by KayleXuan | September 13 2015

Never have I seen a more powerful tool than this one in img processing.

by FlorianG73 | August 25 2015

Exxxcellent tool ! Very helpfull for debuging.

Will get the fifth star when support for 1Bpp and CMYK images will be available.

by Goran Dubajic | August 06 2015

Great tool!
Bug: debugging from VS2015 with platform toolset VS2013 in Image Watch it states [invalid] for an image which is correctly displayed when debugging from VS2013. If platform toolset is VS2015 everything works OK.

by olvrw | July 22 2015

by StevenHickson | July 17 2015

I really can't say enough about this plugin. It makes debugging for computer vision much easier and faster.
The visualization of custom classes is easy and also a great addition.

by zzdrghost | May 05 2015


by SergBabiychuk | April 16 2015

Great tools!
But I would like to see support:
1) for Qt5 objects: QImage,QPixmap(QBitmap)
2) for any pointers, with user selection of image parameters while debugging

by Baris Demiroz | March 24 2015

by Eejdoowad | March 13 2015

by Jaka Konda | March 03 2015

by vuki | February 27 2015

A must if you program with OpenCV

by bambambigelow | January 28 2015

this is an amazing extension! works like a charm and saves a lot of hassle while debugging opencv code

by Y.T. Tommy HU | January 08 2015

by Lukas Neumann1 | December 19 2014

Works like a charm, this add-in is a must for everyone working with OpenCV in Visual Studio.

by Elador | December 16 2014

THE best and most amazing plugin ever! Makes coding so much more productive, and more fun as well.

If you want one suggestion on what to improve, I'd say @mem(...). I don't needed it often, but when I'd need it, I most of the time can't get it to work. It's kind of documented, but I'm never sure: Do I put in the name of the variable? or '&variable'? or the address? or the address with 0x...? or...? and more often than not it's not working, and also not printing any error/debug information.

I think what would be useful as well is a small button that opens a menu that shows all the operators you can use, and their syntax - like a small documentation inside.

But those are just some tiny suggestions. It is incredible as it is!

by Mor CH | November 09 2014

absolutely useful and great, but I want this add-on for both Xcode and eclipse (Mac and Linux) very bad please.

by John Dance | September 12 2014

This makes debugging image handling so much easier. I love it! Thank you! The ability to extend to my image types (QImage/QPixmap) is a game changer.

by Rob42_ | August 04 2014

Thanks for this great extension to Visual Studio,
would like to see this open sourced to add even more features.

by Mudit Agrawal | June 24 2014

This is indeed a game changer! Debugging in-memory images has always been so hard in VS. The simple power of Image-Watch visualization, combined with the efficient operators can turn hours of debugging to minutes or seconds.

Great work!

1 - 20 of 43 Items   
Sign in to start a discussion

  • Solution with and VC++ (CLR) proyect
    2 Posts | Last post November 09, 2015
    • I have a solution with two proyects.
      2º VC++(clr) Integrate with Opencv3.0
      Is possible debugging c++ code in proyect clr and use Image Watch in this case?
    • Sorry, this question (resolved by Wolf Kienzle- page 6)
      1) Attach a purely native debugger, not a mixed one. Note that "enabling native code debugging" in the C# project properties means "managed + native = mixed", not "native only". So you may have to attach to the running process via Debug->Attach, instead of the more convenient "Debug->Start Debugging"). 
      2) Turn off Tools->Options->Debugging->Managed C++ Compatibility Mode
      3) Put "#pragma unmanaged" guards before any of your OpenCV code. This will ensure that your OpenCV code is actually native, not managed.
  • exception has been thrown by the target of an invocation
    3 Posts | Last post November 02, 2015
    • when i start the Image Watch an error throwed "exception has  been thrown by the target of an invocation". 
      I have uncheced Managed C++ Compatibility Mode.
      My vs version is 2013, i have updated with update 1 package .
    • Which process is throwing the exception, your app or Visual Studio?
    • I am getting the same exception as well, thrown by Visual Studio. Every time I click on Image Watch from View > Other Windows, I get this exception.
      I have tried:
      - restarting the machine : doesn't solve the problem
      - uninstalling and reinstalling Image Watch : doesn't solve the problem
      - reducing the size of PATH (currently 1035 chars) based on some comments on the web : doesn't solve the problem
      At this point, I am not able to start/use Image Watch at all. Some help is greatly appreciated. :)
  • C# port
    1 Posts | Last post November 01, 2015
    • Hi,
      your great extension is not available for C# debugging?
      Is there any way to use it?
      After install on VS 2015 I can view Image Watch window but there is no locals. 
      When I add any expression to watch list I can see only [invalid]
      Best Regards
  • raw bitmap
    6 Posts | Last post October 28, 2015
    • Hello.
      This extension has potential to be very useful to me. However, I don't have objects that represent pictures; I only have pointers to raw data (such as uchar *), paired with variables that hold width, height and stride.
      It would be great if you could add possibility to look images in a generic way - add another radio button which will show fields that could be manually edited (picture address, width, height, stride, format).
    • We will add support for this scenario in an upcoming update. Please see also the "Raw binary blob support" thread.
    • Is there any update on this? I just downloaded the latest version today and I have the same request. Thanks!
    • Hi! Update 1.0.1071.0 (April 2014) introduced the @mem operator to support this scenario. It is described on our help page under "Image Operators". Let us know if this isn't what you were looking for, or if you run into any problems with it. Thanks! -Wolf
    • Thanks for the operator support (and for the plugin in general, it is really important for my work). However despite the extensive documentation I do not understand where to write the operators down. Do they belong in the .natvis file and if yes, where? Could you add these information to the docs, maybe a sample natvis-file like there are several ones on the page?
    • You type it in the Image Watch window. Click the 'Watch' radio button, double click on a blank line, and type in (for example):
          mem(, UINT8, 1, 1600, 1200, 1600)
      to display a buffer of a grayscale unsigned char* of size 1600x1200.
  • Dump data decoder
    1 Posts | Last post October 27, 2015
    • Hi,
      I have some inquiry about dump data
      The dump data is created from image watch UI
      I think it will save image header and data.
      Could you give decoder description of dump data?
      or please give us any reference document or code to extract data from dump file.
  • NV21 is not supported
    1 Posts | Last post October 21, 2015
    • I checked that NV12 format is working by setting [channels] as "NV12". However, similar format NV21 (only the sequence of cb and cr channels are switched) seems not to be supported. If it's now supported, please guide me how to configure. If not, do you have a plan to support NV21?
  • Won't recognize .natvis files in projects
    1 Posts | Last post October 18, 2015
    • The plugin seems to be not reading projects' private nativs files. I have to put a .natvis to some global folder to make the image shown.
  • UINT32
    1 Posts | Last post October 09, 2015
    • Please, support UINT32. All my images are uint32_t :(
  • Image Watch suddenly not working
    1 Posts | Last post October 09, 2015
    • I've been using Image Watch for quite time without any problems in all my OpenCV projects. However, now in one of them it is showing [invalid] for the vast majority of my matrices without any obvious reason (such matrices are of course not invalid at all). Reinstalling didn't work, and I also don't know why some of the matrices still show perfectly (though they're just a few). Are there any know issues or steps to try to troubleshoot this? I've found it difficult to get info about such problems and/or possible incompatibilities. Any help/suggestion would be greatly appreciated
  • Compatible with OpenCV .NET wrappers?
    1 Posts | Last post September 16, 2015
    • I was hoping to try this with a project using OpenCVSharp but I guess it doesn't recognize the wrapped data types.  Maybe there's a way to get it to work?  Sure would be nice.
1 - 10 of 91 Items