dotTrace Self-API Not Fully Support .NET 8

I am encountering the following exception when attempting to attach dotTrace SelfAPI for tracing in a .NET 8.0 application. However, the same setup works fine with a .NET 4.8 application. Any help or direction is required on how to fix this problem.

System.InvalidOperationException  
  HResult=0x80131509  
  Message=Profiler.Api was not ready within the given time (30000 ms).  
  Try increasing the profiler response timeout using `UseCustomResponseTimeout`.  

*** Standard Error ***  
Error occurred in the ETW Collector bridge: Failed to create ETW trace session  
[struct jetbrains::collector::etw::trace_param_tag * __ptr64] = Neither Trace handle nor Trace name was specified.  

*** Standard Output ***  
dotTrace command-line profiler 2024.1.7 build 777.0.20250218.92858. Copyright (C) 2024 JetBrains s.r.o.  
Preparing to profile...  
Profiling in progress...  
##dotTrace["ready"]  
You can control profiling by sending command messages to stdin. For details, type ##dotTrace["help"]  
##dotTrace["connected",{"pid":13068,"path":"C:\\bitbucket\\ldp\\IO\\bin\\x64\\Debug\\net8.0\\IO.exe"}]  

Source=JetBrains.Profiler.SelfApi  
StackTrace:  
   at JetBrains.Profiler.SelfApi.Impl.ConsoleProfiler.BuildException(String caption)  
   at JetBrains.Profiler.SelfApi.Impl.ConsoleProfiler.AwaitConnected(Int32 milliseconds)  
   at JetBrains.Profiler.SelfApi.DotTrace.Session.AwaitConnected()  
   at JetBrains.Profiler.SelfApi.DotTrace.Attach(Config config)  
0
1 comment

Hi!

Could you please provide us with ETW.Collector logs:

  • Clear %temp%\JetLogs and %systemroot%\Temp\JetLogs folders
  • Kill JetBrains.ETW.Collector.exe and JetBrains.ETW.Collector.Host.exe processes
  • Restart dotTrace
  • Reproduce the issue
  • Send us both the %temp%\JetLogs and %systemroot%\Temp\JetLogs folders with all log files


We also need the next information:

  • Windows version
  • Are there any crashes logged in Windows Event Viewer?


You can upload logs to our ftp server.
 

0

Please sign in to leave a comment.