Starting with Android 4.1, OpenGL applications can also be debugged with the Tracer for OpenGL ES tool. This tool can capture the stream of OpenGL commands sent for each frame rendered, their execution time, and the OpenGL state for each frame. You can run the tracer by following these steps:
Switch to the tracer perspective in Eclipse by selecting Window→Open Perspective→Other and then select Tracer for OpenGL ES.
Click the trace capture button in the toolbar; it looks like the following image:
A trace options window will appear, as seen in the following figure. Select the device or emulator instance to debug (keeping ...