Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!mips!sgi!shinobu!fido.wpd.sgi.com!mott From: mott@sgi.com (David Mott) Newsgroups: comp.sys.sgi Subject: Re: GL debugger Message-ID: <1991Apr25.164021.27221@fido.wpd.sgi.com> Date: 25 Apr 91 16:40:21 GMT References: <9104242215.AA23999@karron.med.nyu.edu> Sender: news@fido.wpd.sgi.com (Usenet News Admin) Organization: Silicon Graphics Lines: 26 Here are a few words on GLdebug, which will be available in the 4.0 release: GLdebug is an aid for debugging GL applications. It outputs a trace of GL functions and parameters invoked by the program, and performs run-time GL error checking of parameter and state, to ensure that the GL is being called by the application properly. It can be invoked on any program which is linked with the shared GL library (-lgl_s), without requiring any special recompiling or linking. The types of error checking it does include: making sure the GL is in a valid state when a GL function is called and making sure parameters are valid (e.g. check for NULL pointers, check for values out of range. In general, check to be sure values passed are within the defined constraints for a function). GLdebug includes an interactive controller for setting breakpoints to stop execution at GL calls or at error conditions. And it provides a stateviewer which graphically displays the current state of the GL pipe (current color, current matrix, current materials bound, etc.) David