GDBServer terminated connection

This problem occurs when the connection between your PC and the Android device (or emulator) is broken. In most cases trying to start debugging again solves the problem.

If the problem persists, please ensure the following:

  1. Ensure that you have the latest Android SDK and NDK.
  2. Try using gdb 7.x that is provided with VisualGDB. Open VisualGDB project properties and enable the gdb 7.x checkbox.
  3. If you are using the Android emulator, consider using a real device.