如何在远程机器上不安装DXSDK的情况下使用VS2008进行远程调试时获取DirectX调试消息?

发布于 2024-08-05 23:28:09 字数 841 浏览 5 评论 0原文

尝试调试一些问题 这只发生在某些 Windows XP 计算机上。我的开发系统使用Vista,我希望避免在XP中设置完整的开发环境来调试这个问题。我已经使用 VS2008 成功设置了 XP 系统的远程调试,但无法让 DirectX 输出任何调试语句。 搜索 MSDN 没有找到任何内容这解决了问题。我尝试将所有调试 DLL 从开发 PC 的 %DXSDK_DIR%\Developer Runtime\x86 复制到程序的工作目录,然后复制到 Windows\System32 目录 此处描述。然后,我复制了 %DXSDK_DIR%\Utilities\Bin 目录,并使用 DirectX 控制面板将 DirectX 设置为在远程 PC 上进行调试,但无济于事。将我的开发 PC 切换为使用 Debug DirectX 也没有帮助。

话虽如此,有谁知道如何让 DirectX 通过远程调试会话在 VS2008 中输出调试消息,而不是在远程计算机上安装 DirectX SDK(这确实有效,但并不总是实用)?

I'm trying to debug some problems that only happen on some Windows XP machines. My development system uses Vista, and I'd like to avoid having to setup a complete development environment in XP to debug this problem. I've successfully setup remote debugging to the XP systems using VS2008, but have not been able to get DirectX to output any debug statements. Searching MSDN didn't turn up anything that solved the problem. I tried copying all of the Debug DLLs from my development PC's %DXSDK_DIR%\Developer Runtime\x86 to the program's working directory and then to the Windows\System32 directory as described here. I then copied over the %DXSDK_DIR%\Utilities\Bin directory and used the DirectX Control Panel to set DirectX to debug on the remote PC to no avail. Switching my dev PC to use Debug DirectX didn't help either.

All that being said, does anyone know how to get DirectX to output debug messages in VS2008 over a remote debugging session other than installing the DirectX SDK on the remote machine (which did actually work, but isn't always practical)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

海风掠过北极光 2024-08-12 23:28:09

您可以尝试调试视图?它是一个小型的 Microsoft sysinternals 工具,可以捕获在其运行的计算机上编写的所有跟踪/调试语句(无需附加调试器)

You could try Debug View? Its a small Microsoft sysinternals tool that captures all trace / debug statements written on the machine its running on (without having to attach a debugger)

幽蝶幻影 2024-08-12 23:28:09

我怀疑这是可能的。这些消息仅由调试运行时输出,唯一的官方安装方法是安装 SDK。您也许可以找到一种方法,通过复制某些文件并更改一些注册表设置来使调试运行时正常工作,而无需进行完整安装,但几乎可以肯定,仅安装 SDK 会更容易。

I doubt it's possible. The messages are only output by the debug runtime and the only official way to install that is to install the SDK. You might be able to figure out a way to get the debug runtimes working by copying certain files over and changing a few registry settings without doing a complete install but it's almost certainly easier to just install the SDK.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文