是否可以编写用于Visual Studio 2010的调试器可视化工具以显示64位.NET程序? [英] Is it possible to write a Debugger Visualizer for Visual Studio 2010 to display 64-bit .NET programs?

查看:101
本文介绍了是否可以编写用于Visual Studio 2010的调试器可视化工具以显示64位.NET程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以为Visual Studio 2010编写调试器可视化程序以显示64位.NET程序的数据?

Is it possible to write a Debugger Visualizer for Visual Studio 2010 to display data of 64-bit .NET programs?

我已经为32位编程编写了它们,但是我无法设法将它们编译或用于64位应用程序。有建议吗?

I already write them for 32-bit programming, but I can't manage to use or compile them for use with 64-bit applications. Any suggestions?

推荐答案

您需要将可视化工具和要可视化的类型放在使用Any CPU编译的单独程序集中

You need to put the visualizer and the type you want to visualize in a separate assembly compiled with the Any CPU platform.

可视化工具由Visual Studio显示,它是一个x86进程,因此它无法加载为x64平台构建的程序集。

The visualizer is shown by Visual Studio, which is an x86 process, so it can not load an assembly built for an x64 platform.

这篇关于是否可以编写用于Visual Studio 2010的调试器可视化工具以显示64位.NET程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆