Windows Device Portal

IOT设备启动之后,使用IoT Dashboard获得IP地址:
Windows Device Portal以及ETW调试信息的使用
菜单中打开Device Portal.
初始账号密码:

Username: Administrator

Password: [email protected]

IOT DashBoard:
https://docs.microsoft.com/en-us/windows/iot-core/connect-your-device/iotdashboard

Windows Device Portal:
https://docs.microsoft.com/en-us/windows/iot-core/manage-your-device/deviceportal


SSH调试

启用SSH功能之后,在CMD窗口:

ssh [email protected]

输入密码实现登录。也可使用PUTTY快捷登录。
如出现异常情况,可删除配置文件重试:

C:\Users\user-name\.ssh

SSH
https://docs.microsoft.com/en-us/windows/iot-core/connect-your-device/ssh

ETW Event调试

Debug->ETW:
Windows Device Portal以及ETW调试信息的使用
在Provider中选择Microsoft-Windows-Diagnostics-LoggingChannel, 点击Enable

App中代码:

LoggingChannel lcEtwTrace;
const string Microsoft_Windows_Diagnostics_LoggingChannel = "4BD2826E-54A1-4BA9-BF63-92B73EA1AC4A";

lcEtwTrace = new LoggingChannel("MyApp", null, new Guid(Microsoft_Windows_Diagnostics_LoggingChannel));

if (lcEtwTrace != null)
{
  lcEtwTrace.LogEvent("This is a log event from MyApp");
}

在ETW处获取如下输出:
Windows Device Portal以及ETW调试信息的使用

点击Save to File获得Events的CSV文档。

相关文章:

  • 2022-01-09
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2021-04-19
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2022-02-01
  • 2021-07-13
  • 2021-06-25
  • 2022-12-23
相关资源
相似解决方案