We are trying to use the IDE integration of VTune Profiler to determine hotspots in our primary product. I have went through a variety of steps to fix the problem we are having that seems to be isolated to my individual laptop. I have both Visual Studio 2019 and 2022 installed and VTune installed for both of them as well as some older version of Visual Studio installed beneath since we are still dependent on the v100 toolset for a few of our projects.
The problem that is occurring on my particular machine is that when trying to launch the profiler from within Visual Studio or even when trying to look at the about pane from the configuration button causes a pane to open, get stuck on loading, or sometimes Visual Studio will just crash entirely. We use CMAKE as our cross-machine project generation tool and I have tried both reconfiguring/regenerating our CMAKE solutions, rebuilding the projects, reinstalling VTune, Updating Visual Studio to latest version, removing the Visual Studio Installer - reinstalling it - and performing a repair, and a host of other solutions to debug/fix this problem. It has not solved any issues.
VTune GUI works perfectly fine as a stand-alone application. It is only the integration of VTune into Visual Studio, both 2019 and 2022 which is problematic and causes the same issues in both IDEs.
I'd like some help in trying to solve this issue and I can provide whatever hardware or software information necessary to resolve this issue. Thanks.
(Ted) Walter Gress
Daz Productions Inc.
Thank you for posting in Intel Communities. We could reproduce your issue. Please follow the below workaround and let us know if the issue still persists:
- Update Visual Studio 2019 & 2022 from Visual Studio Installer as follows:
- Open oneAPI Installer from the path <Intel oneAPI installed directory> : /intel/oneapi/installer/installer.exe
- Repair Intel Base Toolkit by clicking on Modify -> Repair
- If repairing doesn't work, please re-install the Base toolkit.
If this resolves your issue, make sure to accept this as a solution. This will help other users with similar issue.
Walter, please do the following for both the Visual Studio 19 and Visual Studio 22 versions>
- On the tabs at the top, go to Help tab
- Select the option About Microsoft Visual Studio
- From the dialog box that appears, select the Copy Info button
- Paste the info for both the VS versions in a .txt file and share it with us
We would need to confirm the status of the integration.
Please try deleting %AppData%\Roaming\Intel\VTune\settings\certificates or %AppData%\Intel\VTune\settings\certificates (depending on your configuration) and restart MSVS and the VTune Profiler MSVS plug-in.