|
|
|
Ask HN: Tools for Android NDK development?
|
|
4 points
by compilercreator
4843 days ago
|
|
Looking at porting a desktop C++ and OpenGL app to Android. Wondering what tools do you use for debugging and profiling apps on Android? Am interested in profiling both CPU code, as well as OpenGL shaders. |
|
I don't know about shader profiling. GDB is apparently supported for debugging, haven't used it: http://www.kandroid.org/online-pdk/guide/debugging_gdb.html
EDIT: By the way, depending on the accuracy you require, you might want to take a look at this poor man's profiler that Mike Dunlavey has been advocating: http://stackoverflow.com/questions/375913/what-can-i-use-to-... It doesn't require compiling the operating system, you can just send a kill signal to your process multiple times and examine the stack traces from the logs. It may or may not be enough for your needs.