Has anyone tried this action? Share your experience. I am trying via cygwin + ndk-gdb. OS - Windows.
Debugging occurs on the emulator.
Has anyone tried this action? Share your experience. I am trying via cygwin + ndk-gdb. OS - Windows.
Debugging occurs on the emulator.
If debugging from under eclipse + gdb, then:
This is tested on ubuntu. There may be differences under cygwin.
I debugged applications remotely on a piece of iron, but not android, but simply Linux. This works well, only you need to have gdb compiled for the machine on which the application is running (for arm in this case). You can even pick up an IDE, if it is smart enough.
3 things are important:
All native code is first debugged in Visual Studio. If you need data from the device (for example, gps), wrote a small code that transfers data to a computer. In theory, debugging with ++ code on a device / emulator is not needed in principle, it is much slower and more complicated.
Source: https://ru.stackoverflow.com/questions/3302/
All Articles