调试 Xbox 360 游戏?
在 Windows 下开发/调试 Xbox 360 游戏的正确 Visual Studio 设置是什么?
我手边没有Xbox,所以我必须能够在Windows下和Xbox上调试游戏。
What is the correct Visual Studio setup for developing/debugging an Xbox 360 game under Windows?
I don't have an Xbox at hand all the time, so I have to be able to debug the game under Windows and on the Xbox.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当您为任何平台创建 XNA 游戏时,Visual Studio 可以为任何其他支持的平台创建游戏项目。这样就可以轻松地在 Windows 上运行 Xbox 游戏。代码库在项目之间共享。您可以使用“设置为启动项目功能”在不同项目之间切换。
但是,请记住,代码的某些部分将特定于给定平台,并且平台本身的行为也不同,因此它不会是功能齐全的调试体验。换句话说,除非您在特定平台上运行,否则将会出现无法轻松调试的问题。
When you create an XNA game for any platform Visual Studio can create projects of the game for any of the other supported platforms. That way it is easy to run your Xbox game on Windows. The code base is shared among the projects. You can switch between the different projects by using the "set as startup project feature".
However, keep in mind that some parts of the code will be specific to the given platform and the platforms themselves behave differently as well, so it will not be a fully featured debugging experience. In other words there will be issues that cannot easily be debugging unless you run on the specific platform.
看看这个讨论:
Take a look at this discussion: