0

I am trying to see event logs using ETW(Event tracing for Windows) for app running in one of my Windows phone. I tried to open the Windows Device portal using the steps mentioned here :

https://msdn.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal

But in the html page http://127.0.0.1:10080/default.htm (Since the phone was connected using LAN), I cannot see any section of ETW. Only Apps, Processes, Performance, Devices and Networking tabs are displayed. Is there an additional setup file required? Or is there a Windows update required for accessing the same?

Tulika
  • 625
  • 1
  • 8
  • 23

2 Answers2

1

Event Tracing for Windows (ETW) in Windows Device Portal is newly added in Windows 10 Anniversary Update. To use this feature, please make sure your device uses the latest build of Windows (Version 1607 OS Build 14393 for now).

For more info, please see Using Device Portal to view debug logs for UWP.

Jay Zuo
  • 15,653
  • 2
  • 25
  • 49
0

You should use FiledMedic instead to get ETW events. This App works for Windows 8.1 and all Windows 10 builds.

You'll have to create a Windows Performance recorder Profile (.wprp). connect the phone to the PC via USB and store it under This PC\Windows Phone\Phone\FieldMedic\CustomProfiles

When now start the Field Medic App, go to advanced and here you find the new profile under Custom Group.

enter image description here

Select this and start logging.

enter image description here

Capture the activity of your app and go back to Fieldmedic, stop the logging and connect the Phone again to the PC navigate to This PC\Windows Phone\Phone\FieldMedic\reports and copy the ETL file to your PC and use Perfview or Windows Performance Analyzer to analyze the ETL files to see your custom Events.

enter image description here

magicandre1981
  • 27,895
  • 5
  • 86
  • 127