[英]How to get Console.Debug Logs from the HoloLens 2 device
I've created an HoloLens 2 App and deployed it to the HoloLens 2. The app isn't working properly so I want to see error messages to fix it.我创建了一个 HoloLens 2 应用程序并将其部署到 HoloLens 2。该应用程序工作不正常,所以我想查看错误消息以修复它。 In Unity the App works fine.
在 Unity 中,应用程序运行良好。 How can I debug my App from the HoloLens 2?
如何从 HoloLens 2 调试我的应用程序?
Visual Studio can help you to deploy and debug your app or even to debug a Universal Windows app that's installed without deploying from a Visual Studio project. Visual Studio 可以帮助你部署和调试你的应用程序,甚至调试一个安装的通用 Windows 应用程序,而无需从 Visual Studio 项目进行部署。
Besides, you should use Unity API Debug.Log to print informational messages and the logs are all displayed in the output window of Visual Studio.此外,您应该使用 Unity API Debug.Log打印信息性消息,并且日志都显示在 Visual Studio 的输出窗口中。 For how to do it, please follow this step-by-step guide: Using Visual Studio to deploy and debug
有关如何操作,请按照此分步指南进行操作: 使用 Visual Studio 进行部署和调试
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.