title: Android: How to Debug an OpenGL-ES app
body: <p>My question seems really silly. But I really headache with this question. For example you use <code>canvas</code> to draw something on Screen (example: line, square) You just take one line of code. So, when debug, when you go through that line, and bad result ( nothing happened, not draw what you want,...) You totally know that something wrong with that line or parameter of its method.</p>
  
  <p>But when I come to OpenGL, just a triangle (with color texture,...), you must use "many line of code" : create <code>byteBuffer</code>, convert to <code>floatBuffer</code>, enable some state that you will use... And when debug, something wrong, I cannot know why (It can be wrong parameter, or I missing something,...). Debugger just help me view flow-of-code and see how it work.</p>
  
  <p>I need some advice of people here to overcome this. Please help me.</p>
  
  <p>thanks :)</p>