Reputation: 2674
What tool can I use best for tracing OpenGL errors? I once used gDEBugger, but that is not yet available for 10.7, and I used to have some problems with it. Xcode Instruments does seem to only have some driver statistics. All I need is a tracer that tells me which OpenGL call led to an error.
Upvotes: 5
Views: 4767
Reputation: 2786
Maybe glslDevil will help you. I know it is able to trace all OpenGl calls.
http://cumbia.informatik.uni-stuttgart.de/glsldevil/
I don't know if it works under OSX.
Upvotes: 1
Reputation: 191
You could try the OpenGL Profiler provided along with the development tools:
/Developer/Applications/Graphics Tools/OpenGL Profiler
This will let you attach to an application, dump a trace, or break when OpenGL encounters an error.
Upvotes: 5
Reputation: 314
Try Xcode's Capture OpenGL ES Frame (in the Product->Debug menu). I haven't used it much, but it should be able to tell you when you are in error.
Upvotes: 1