Trying to debug a native Android Application. The gdbserver and gdb-setup files have been created. A breakpoint has been set in the native code, but the debugger never gets initiated and the breakpoint is never hit.
Asked
Active
Viewed 87 times
0
-
Hey JGPhilip, have you tried my solution? Can you please mark it as answer if it was helpful? Thanks! – Viktor Malyi Apr 16 '15 at 11:46
1 Answers
0
Based on the details level you've provided, it's really hard to guess what could have happened, but in such case you can start with following things:
- Check whether you have proper port forwarding setup between host and target
- Check whether gdbserver executable at target have proper access persmissions in order to be executed.
- Try to use "am" (ActivityManager) approach and connect gdb to a running proccess.
Community
- 1
- 1
Viktor Malyi
- 2,159
- 2
- 24
- 39