Attach a running OpenGL to NSight for graphics debugging

871 views Asked by At

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.

1

There are 1 answers

0
S.Frank Richarrd On
  • 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?