NVIDIA® Nsight™ Development Platform, Visual Studio Edition 2.2 User Guide
Send Feedback
With NVIDIA Nsight 2.2, you can attach the Visual Studio debugger to an already-running CUDA application. To do so, follow the steps outlined below.
![]() | Attach also requires the environment variable This can be set system-wide, but then every process that uses CUDA will be attachable. This means the following:
There should be no difference in the running application if this environment variable is not set. |
![]() |
In this case, the CUDA Debugger will not stop in the middle of a kernel that is currently executing; it will wait for the next kernel launch. |
To end, choose Debug > Stop Debugging. Note that this will terminate the application, as the Detach function is not currently supported.
NVIDIA® Nsight™ Development Platform, Visual Studio Edition User Guide Rev. 2.2.120522 ©2009-2012. NVIDIA Corporation. All Rights Reserved. | |