ETW Providers - egnomerator/misc GitHub Wiki

ETW Logging During Debugging in Visual Studio

If debugging in Visual Studio and the Diagnostic Events window shows no logs and says it's disconnected, add ETW providers to its list via the gear.

Add any providers from your application by name, and also add the below providers for more helpful log data.

Microsoft Service Fabric ETW Providers

Microsoft-ServiceFabric:4:0x4000000000000008

Microsoft-ServiceFabric:4:0x4000000000000010

Microsoft-ServiceFabric:4:0x4000000000000020

Example

In the pop-up window that displays after clicking on the Diagnostic Events window gear, type one provider per like this:

My-Application-Provider1
My-Application-Provider2
Microsoft-ServiceFabric:4:0x4000000000000008
Microsoft-ServiceFabric:4:0x4000000000000010
Microsoft-ServiceFabric:4:0x4000000000000020
⚠️ **GitHub.com Fallback** ⚠️