We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!