简体   繁体   English

用于非托管C ++的GDI对象的调试器可视化器

[英]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 . 据我所知,没有办法通过autoexp.dat做到这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. 除了MSDN文档和示例,我发现了这一点: http : //www.idigitalhouse.com/Blog/ ?p =83 ...但是,它“仅”涵盖了文本数据。 Virtually all other information was superficial (only covering "default" features of autoexp.dat ) or for managed code. 实际上,所有其他信息都是肤浅的(仅涵盖autoexp.dat “默认”功能)或托管代码。

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. 链接的可视化工具似乎不适用于非托管(C ++)代码,我尝试过这样做。

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. 我有完全相同的问题,仅适用于OpenCV,而不适用于GDI图像。 I found there is no simple solution for this task. 我发现此任务没有简单的解决方案。 However, I've implemented one based on Visual Studio Debugging Expression Evaluator Add-In . 但是,我已经实现了一个基于Visual Studio 调试表达式计算器加载项的插件

My implementation is available as a VSIX package named NativeViewer at SourceForge. 我的实现可以在SourceForge上以名为NativeViewer的VSIX包形式获得。 If you need, you can adapt it to work with GDI images instead of OpenCV. 如果需要,您可以使其适应GDI图像而不是OpenCV。

Have you seen my FeinViewer? 您看过我的FeinViewer吗? I stopped supporting it for the lack of interest... 我出于缺乏兴趣而停止支持它。

http://feinsoftware.com/FeinViewer.php http://feinsoftware.com/FeinViewer.php

Aside from the visualizer by Mikhail, there is this one: 除了米哈伊尔(Mikhail)的可视化器外,还有以下内容:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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