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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With