Debugging Native Code

You can add break points to the native code

  1. Open glesjni.cpp file
  2. Click the left edge of the native code to set a breakpoint:
  3. Click the Debug button , your android device should prompt "Waiting For Debugger" message:
  4. See an example below.
  5. Click the "F8" key to step over, and menu "Run" > "Resume Program" to continue the execution.

Debug native code

We are done with first main part of the tutorial. Take 5 minutes break and then move on to ExoPlayer part.

results matching ""

    No results matching ""