How to trace values in Cg program

How to trace value in Cg program via jogl?

Since no one with Cg experience has replied I’ll take a stab at it. GLSL and to the best of my knowledge HLSL do not have any method for tracing values or for the most part any sort of debugging ability. Since Nvidia uses their Cg compiler to compile GLSL I would guess that they are nearly identical and as such Cg us unlikely to have any run time debugging abilities either.

Yup. The only thing I’ve come up was to render some debugpixels and grab them from the pixelbuffer to decode the contained information.