MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
444 stars 53 forks source link

Collecting ETW fails #4255

Open fdzatdtv opened 9 months ago

fdzatdtv commented 9 months ago

Still need help with this:

          @vbryh-msft My wpr version is: Microsoft Windows Performance Recorder Version `10.0.19041` (CoreSystem)

I tried your wprp file, but it fails too:

D:\tmp\wpr_test>wpr -start WebView2.wprp -filemode

D:\tmp\wpr_test>wpr -stop trace.etl "trace"

        Cannot change thread mode after it is set.

        Profile Id: RunningProfile

        Error code: 0x80010106

D:\tmp\wpr_test>

Originally posted by @fdzatdtv in https://github.com/MicrosoftEdge/WebView2Feedback/issues/4179#issuecomment-1835619049

Karthik-076 commented 4 months ago

Hi, I recently encountered this error not just for WebView2 profile, but I couldn't run it for any profile from command line; to my surprise I was able to record the same trace when I run it from WPR GUI(the application). My version of Windows is Windows 10 and I'm using the latest wpr version