I’m using VS2017 15.9.6, and NSight Visual Studio Edition 22.214.171.12427. I have a GEForce GTX 1060 running gdriver version 417.35 on Win10 Pro.
I am running Nsight Monitor 6.0, and it’s main page says ‘The Nsight Monitor on … is properly configured for Nsight GPU debugging and analysis seessions’ (but then ‘Connections: (no connections)’
Before starting the debugger in VS, I set a breakpoint inside a CUDA kernel function. Then, in VS I choose Nsight->Start CUDA Debugging (Next-Gen)…
The debugger starts the process (a simple console app), but all breakpoints in the kernel function disappears. I can breakpoint in host code (e.g. main()) and step through host code but cannot step into nor breakpoint in the kernel function. The kernel function is definitely being called.
During debugging, the Nsight Monitor 6.0 still shows ‘Connections (no connections)’.
Both ‘Device’ and ‘Host’ have ‘Generate GPU Debug Information’ are set to ‘Yes (-G)’
All other settings are default and unchanged from initial install.
What steps can I take or diagnostics can I run to understand why I cannot debug CUDA kernels in VS2017?
Thanks in advance for your help.