Unable to start profiling
C:\Setup\Tools\dotTrace>dotTrace.exe attach 3796 --save-to=c:\setup\tools\dottrace\profiler\logisys301.dtp --profiling-type=Sampling
dotTrace command-line profiler 2023.3.3 build 777.0.20240116.110155. Copyright (C) 2023 JetBrains s.r.o.
Preparing to profile...
Unable to start profiling. The profiler is unable to attach to the process: Please ensure the process is not run under another profiler, performance-monitoring tool, or mocking tool. Alternatively, try rebooting your computer.
( AV services , Monitoring services , firewall services are Stopped)
Can some one advice how to make this work.
Please sign in to leave a comment.
Try to run
CleanUpProfiler.x64.exe /r /t /i
(orCleanUpProfiler.x86.exe
if you use 32-bit OS) and restart your application.This executable is located in the same folder as
dotTrace.exe
.The issue was related to the New Relic Agent. It uses the same API, but it is not possible to attach multiple profilers at the same time.
Hi ED - Thanks - Did as per your recommendation, but still getting the below message.
Hi,
Do you have any other profiler installed in your system? It could be some performance or stability monitoring tool.
You can try to manually find suspicious dlls which can be related to some monitoring tool.
Please perform the next steps:
- install Process Explorer tool from Microsoft site (https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer ),
- run it under an account with administrative rights,
- set focus to the corresponding process in Process Explorer,
- press Ctrl+L (or enable Show Lower Panel option in View menu), then press Ctrl+D for enabling DLLs view.
You can press Ctrl+A to save information about the process to a file and then send this file to us ("Submit a Request" button in the upper right corner), we'll try to help you.
Please also open “Properties” window (right click on the process) and attach a screenshot of “Environment” tab.