Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenGL debugger / error tracer for OS X 10.7 (Lion)?

Tags:

macos

opengl

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.

like image 223
Arne Avatar asked Sep 07 '11 15:09

Arne


2 Answers

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.

like image 172
Gavin Maclean Avatar answered Sep 29 '22 11:09

Gavin Maclean


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.

like image 40
Ivan Milles Avatar answered Sep 29 '22 11:09

Ivan Milles