VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/mesa/mesa-21.3.8/docs/debugging.rst@ 107981

Last change on this file since 107981 was 96488, checked in by vboxsync, 3 years ago

Additions/3D/mesa: Export to OSE and remove symlinks.

  • Property svn:eol-style set to native
File size: 622 bytes
Line 
1Debugging Tips
2==============
3
4Normally Mesa (and OpenGL) records but does not notify the user of
5errors. It is up to the application to call ``glGetError`` to check for
6errors. Mesa supports an environment variable, ``MESA_DEBUG``, to help
7with debugging. If ``MESA_DEBUG`` is defined, a message will be printed
8to stdout whenever an error occurs.
9
10More extensive error checking is done in DEBUG builds
11(``--buildtype debug`` for Meson).
12
13In your debugger you can set a breakpoint in ``_mesa_error()`` to trap
14Mesa errors.
15
16There is a display list printing/debugging facility. See the end of
17``src/dlist.c`` for details.
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette