#include <agar/core.h> #include <agar/gui.h>
The Agar GUI debugger is available when the Agar library is compiled with the --enable-debug option. The GUI debugger allows the tree of windows and widgets to be inspected in extensive detail.
The AG_GuiDebugger() function creates the GUI debugger window. The caller should invoke AG_WindowShow(3) to display it. The debugger window should be closed before the window which it is debugging.
The AG_GuiDebugger tool first appeared in Agar 1.3.4.