OptiX Debugging Techniques

Hi all, Richard recently published a developer blog post that highlights the debugging facilities in the OptiX Toolkit (OTK). In the blog post, he walks through how to use OTK for logging and debugging.

We will have more OptiX debugging info rolling out over the next few months, but I also wanted to mention that the CUDA Toolkit 13.4 developer preview has a bug fix that restores the ability to ‘break on launch’, meaning have the debugger stop for variable inspection and stepping in your raygen program, when using one of the CUDA debuggers like Nsight VSE or cuda-gdb on OptiX applications.


David.

Hi, it’s not just related to raygen programs. I could not debug any CUDA kernel code that ran after creating an OptiX context until I started using NSight VSE 2026.3 that comes iwth this preview.