开发者

How to enable more debugging info for DirectX variables in VS 2008?

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

Normally it just shows IUnknown and a some pointer value, but if additional debugging is enabled its possible to see more detailed info abou开发者_Go百科t the structure.

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

Please help me find it again.

Thank you!


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").

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.

Finally, make sure to define D3D_DEBUG_INFO as described in Enabling Direct3D Debug Information on MSDN

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜