如何在VS 2008中为DirectX变量启用更多调试信息? [英] How to enable more debugging info for DirectX variables in VS 2008?

查看:78
本文介绍了如何在VS 2008中为DirectX变量启用更多调试信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够为DirectX变量(如LPD3DXMESH等)启用调试信息。

I was able to enable debugging info for directX variables like LPD3DXMESH etc.

通常,它仅显示IUnknown和一些指针值,但是如果启用了其他调试功能,

Normally it just shows IUnknown and a some pointer value, but if additional debugging is enabled its possible to see more detailed info about the structure.

问题是我丢失了项目,现在我不记得如何再次启用这种调试了。

Problem is that I lost the project and now I can't remember how to enable this type of debugging again.

请帮助我再次找到它。

谢谢!

推荐答案

首先,您是否启用了DirectX调试模式?如果不是,请转到开始菜单中 Microsoft DirectX SDK / DirectX实用工具下的DirectX控制面板,然后启用调试模式(选中使用Direct3D的调试版本复选框)。

First of all, have you enabled DirectX debug mode? If not, go to the DirectX Control Panel under "Microsoft DirectX SDK/DirectX Utilities" in the Start menu and enable debug mode (Check the checkbox "Use Debug Version of Direct3D").

下一步,确保将项目构建配置设置为调试。在Visual Studio中,选择构建>配置管理器,然后将项目的配置更改为调试。

Next, make sure that your projects build configuration is set to Debug. In Visual Studio, choose Build > Configuration Manager and change the configuration of your project to Debug.

最后,请确保按照在MSDN上启用Direct3D调试信息

这篇关于如何在VS 2008中为DirectX变量启用更多调试信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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