Debugging native android application

Sysprogs forums Forums VisualGDB Debugging native android application

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #425
    Slava
    Participant

    Hello,

    I’ve got problem with debugging native code on my Android-device. While I was debugging samples from NDK everything was good. But after I had included to my project C++ library breakpoints stopped working. When I try to set breakpoint messgae box from GDB appears (see attachement) which shows that timeout is too long.

    Library is used for reading/writing special file format and rendering it using OpenGL. This library is very big, size of corresponding “.so” file equals to 18 Mb after library is built. Are there any ideas why breakpoints has been broken? Can size of JNI library cause this? Are there any limitation on JNI library size?

    Thanks

    #2080
    support
    Keymaster

    Hi,

    The Android GDB provided by Google is VERY slow. If your library size is 18MB, it might take several minutes to load the symbols. When VisualGDB displays this warning, the operation is still running in the background, so the window will disappear after some time.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.