Debug DirectCompute shader?

Anyone know of a good resource on how to use NSight to debug a DirectX 11 compute shader? I have successfully used NSight to debug graphics, and it works great. But I’ve tried to debug DirectCompute and I can’t figure out how to get it to work, and the official documentation doesn’t seem to have anything specific on the process.

Thanks for any help you can give me. It is much appreciated.


Hi Tim,

Debugging DirectCompute shaders is the similar process as to debugging any other shader. Please take a look at the user’s guide, under Graphics Debugger > Shader Debugger.
If you have further issues, please let us know.


Thank you! I incorrectly assumed that DirectCompute would be debugged more similarly to CUDA since they are both for GPGPU, so I was looking in the wrong place in both the User Guide and VS menus. This should help me solve my problem!