简体   繁体   中英

Debugger visualizer of GDI objects for unmanaged C++

  1. Technically, is there a way to show images (bitmaps, icons, cursors) directly inside the watch window? As far as I know there is no way to do that via autoexp.dat . (If not, a tool window will also do.)
  2. How can I transfer the image data from the debuggee to the debugger visualizer?
  3. What other (see below) resources or sample code exists for the problem at hand?

Aside from the MSDN documentation and examples, I found this: http://www.idigitalhouse.com/Blog/?p=83 ... however, it "only" covers textual data. Virtually all other information was superficial (only covering "default" features of autoexp.dat ) or for managed code.

Basically I am looking for this , but for unmanaged debuggees. The linked visualizer does not appear to work with unmanaged (C++) code, I tried that.

Is there any solution for native code at all?

I've eventually stumbled upon your question while googling. I had exactly the same question, only for OpenCV, not GDI images. I found there is no simple solution for this task. However, I've implemented one based on Visual Studio Debugging Expression Evaluator Add-In .

My implementation is available as a VSIX package named NativeViewer at SourceForge. If you need, you can adapt it to work with GDI images instead of OpenCV.

Have you seen my FeinViewer? I stopped supporting it for the lack of interest...

http://feinsoftware.com/FeinViewer.php

Aside from the visualizer by Mikhail, there is this one:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM