Moe
Moe

Reputation: 29733

Can't "Attach to Process" to debug using Nsight in Visual Studio 2008

I'm trying to debug a cuda application using Nsight with Visual Studio 2008, so I opened the Attach to Process dialog. I set the Transport to be Nsight GPU Debugger. I set the Qualifier to the name of my machine (MONAD in this case). I see a list of processes in the Available Processes widget, but they are all greyed out, and if I click on my application, it remains greyed out and I cannot click the attach button.

Screenshot of the Attach to Process dialog

When I built the application I made sure to use the -G0 flag when compiling my .cu files with nvcc

Upvotes: 2

Views: 2321

Answers (1)

Totem
Totem

Reputation: 236

Please make sure you have set the monitor settings and the environment variables as described in the Nsight Visual Studio Edition 3.0 chapter Attach Debugging to a Running CUDA Process

Let me know if that helps. Thanks

Upvotes: 4

Related Questions