dotTrace console profiler: Unable to start profiling.

Hello, 

I'm trying with dotTrace console profiler to profile a windows service application. This is how I start and the error message I get:

C:\Test\dotTrace>dottrace attach 11100 --profiling-type=Timeline --save-to="C:\Test\dotTrace\Snapshots\snapshot1.dtp" --no-check-for-updates
dotTrace command-line profiler 2023.1.3 build 777.0.20230621.114736. Copyright (C) 2023 JetBrains s.r.o.
Preparing to profile...
Unable to start profiling. Error HRESULT E_FAIL has been returned from a call to a COM component.. Details: Timeout is exceeded: the elevation request is performing for too long: E_FAIL Unspecified error (hresult_error:80004005).

Can someone help?

 

0
3 comments
Official comment

Hello,

looks like you're encoutered the problem of very long validation of the profiler executable. Here is the issue: https://youtrack.jetbrains.com/issue/PROF-1388/Document-localcrl-parameter-and-consider-to-show-a-warning-in-profiler-UI

Could you please try the workaround mentioned in the issue?

If you don't have the ETW Host Service installed on your machine please take it from our official site: https://www.jetbrains.com/profiler/etw/.

Thanks a lot, the workaround works!!

0

Glad it helped!

0

Please sign in to leave a comment.