This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mali Graphics Debugger - debugging native Android application

Is it possible to debug native Android application using Mali graphics Debugger?

I have confirmed that debugging is working properly with Android Java applications, but with native C++ application (built using NDK toolchain) - debugger does not capture anything.

My application is using OpenCL for calculation.

  • Hi kbzowski,

    The Mali Graphics Debugger is not a C++ debugger, it is an OpenGLES and related API debugger, providing visibility over the command stream passing from the application to the API, etc.

    To debug Android C++ code, you need to configure your IDE to start the application on the target using gdbserver and connect to the running target. The Java debugger will have no visibility over code running natively. If you're using Eclipse/Android studio there should be plenty of documentation online about how to do this.

    Good luck!