Debugging Tools

From OpenGL Wiki
Revision as of 16:15, 23 August 2008 by EddyLuten (talk | contribs)
Jump to navigation Jump to search

There are several tools that can aid in the debugging of your OpenGL program.


Download from

Description: GLIntercept is a free open sourced program intended for Windows platforms. After installing, a folder (C:\Program Files\GLIntercept*_* where the asterisks are the version numbers) will have been created. This folder holds several samnple configuration files of interest which can be used to configure GLIntercept: gliConfig.ini, gliConfig_AuthorStd.ini, gliConfig_ExtOverride.ini, etc. In addition, this folder holds a version of the OpenGL32.dll file which acts an intermediary between your system's OpenGL implementation and GLIntercept. To utilize this functionality, copy the DLL and a customized copy of the gliConfig.ini file to your application's target folder (usually where the .EXE resides) and run your application. All invoked OpenGL function calls will route through the DLL, allowing GLIntercept to detect:

  • Errors
  • Function calls before context creation
  • Resource leaks

You may configure GLIntercept to output log files (upon pressing [Ctrl]+[Shift]+[8]) showing all of the OpenGL functions called, problems and used shaders and textures.

Cons: The program is intended for applications that have a single GL context.