Search code examples
debuggingvisual-studio-2012cudansight

NSight attach shows no available processes


I am having a weird problem that when trying to attach am application with NSight, there is no available processes showing up in the list.

I am trying to debug CUDA code. So I attached my VS2012 project to an application (MATLAB). It used to work fine, but until yesterday there is no available process to attach somehow. Weird.

Here is the things I have done:

  1. NSight 5.0 Setup: enter image description here enter image description here

  2. Environment NSIGHT_CUDA_DEBUGGER = 1 in both personal and system settings. enter image description here

  3. Open VS2012 project and -> tools -> attach to process -> Nsight GPU Debugger enter image description here enter image description here

In Step 3, there is no processing showing up. And once I chose Nsight GPU Debugger and my localhost, the Nsight says it is already connected.

I am using VS2012 Pro, Windows 7, CUDA 7.5, and Nsight 5.0. Any help is greatly appreciated.


Solution

  • I solved this issue by downgrading NSight to 4.5, as well as the drive that fits NSight 4.5

    For Nsight 5.0, I could not get it work anyway. The driver version was right, but it just did not work as far as I have tried.