How do i attach a running OpenGL program to NSight for graphics debugging? This link talks about how to attach a CUDA application but the same procedure is not applicable for performing graphics debugging.
Asked
Active
Viewed 783 times
1 Answers
0
- Open Visual Studio Project • Select "Nsight" from Menu and "Start Graphics Debugging" • Let the program run for a while • Press Ctrl+Z • Press Space • Go to "API Inspector" in Visual Studio • Select "Program" from left side bar • Select a "Source" from "Linked Shader State" • Place a breakpoint, As like you do regular debugging
also your graphics card should support debugging.
refer the below link for details. How to debug (GLSL) shaders using Nsight?

Developer Guy
- 2,318
- 6
- 19
- 37

S.Frank Richarrd
- 488
- 1
- 3
- 15