Nvidia OptiX application debugging

I am trying to develop an application based on Nvidia Optix ray tracing engine, but I cannot debug my own device code contained in Optix programs (I cannot see the contents of the device side variables).

My developing environment is: Windows 10, Quadro P1000, cuda toolkit 10.2, driver 512.15, Visual Studio 2019, Visual Studio Nsight Edition 2022.2.
My optix programs are compiled into PTX code by nvcc compiler.

Can you please give me any suggestions?

Many Thanks


This topics is a better fit for the Optix category. I will move it over for you.


The source code debugging feature is in preview state in OptiX 7.5.0.
Please read the OptiX SDK 7.5.0 Release Notes (link directly below its download button) and find more details about it in this thread: