ndk debug error

I’m trying to debug native jni code with NVIDIA Debug Manager but i have errors.
I also didn’t succeed to debug with any method on the internet,everything fails in one way or another.

Here is the log, i hope you can help me.
Thank you

NDK: ------------------------------
NDK: NVIDIA Debug Manager for Android NDK!
NDK: adb is running normally...
NDK: Performing ro.AdrianAndZoe.Connectclassic.ConnectActivity activity launch
NDK: Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'AVD_for_Nexus_7_by_Google'
NDK: Check if there arealready running gdbservers 2.587
NDK: Killing gdbserver process 1730 2.843
NDK: Check if there is running application ro.AdrianAndZoe.Connectclassic 2.99
NDK: Found running application pid=1715. Killing it. 3.369
NDK: Uninstalling package ro.AdrianAndZoe.Connectclassic 3.465
NDK: Syncing app 18.437
NDK: Uploading ConnectClassic.apk onto device 'emulator-5554'
NDK: Installing ConnectClassic.apk...
NDK: Success!
NDK: Retrieving shared libs if necessary 35.053
NDK: Using /Users/Adrian/Documents/workspace/.metadata/.plugins/com.nvidia.ndklaunch/avd_emulator-5554 as shared libs cache.
NDK: Computing solib search path 35.054
NDK: Launching app 35.073
NDK: Starting activity ro.AdrianAndZoe.Connectclassic.ConnectActivity on device 
NDK: Executing shell command: am start -D -n ro.AdrianAndZoe.Connectclassic/ro.AdrianAndZoe.Connectclassic.ConnectActivity -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=ro.AdrianAndZoe.Connectclassic/.ConnectActivity }
NDK: Attempting to connect debugger to 'ro.AdrianAndZoe.Connectclassic' on port 8608
NDK: Start GDB when before JDB
NDK: Performing port forwarding 39.27
NDK: Executing command: /Users/Adrian/Desktop/adt-bundle-mac-x86_64-20131030/sdk/platform-tools/adb forward tcp:12345 localfilesystem:/data/data/ro.AdrianAndZoe.Connectclassic/gdbsocket
NDK: Computing PID of launched application 39.518
NDK: Found PID of launched application: 1814
NDK: Starting up run-as ro.AdrianAndZoe.Connectclassic lib/gdbserver +/data/data/ro.AdrianAndZoe.Connectclassic/gdbsocket --attach 1814 40.26
GdbServerReceiver: Attached; pid = 1814
GdbServerReceiver: Listening on Unix socket /data/data/ro.AdrianAndZoe.Connectclassic/gdbsocket
NDK: Checking gdb debugger 41.262
NDK: Gdb debugger file is found and has executable flag: /Users/Adrian/Desktop/adt-bundle-mac-x86_64-20131030/eclipse/plugins/com.nvidia.ndklaunch_21.0.0.201307250029/gdb/darwin-x86/arm-eabi-gdb 41.327
NDK: Creating gdb debugger 41.394
NDK: Creating gdb session  41.395
GdbServerReceiver: Remote debugging from host
GdbServerReceiver: readchar: Got EOF
GdbServerReceiver: Remote side has terminated connection.  GDBserver will reopen the connection.
GdbServerReceiver: Listening on Unix socket /data/data/ro.AdrianAndZoe.Connectclassic/gdbsocket
NDK: Target selection failed. 47.279. See error log for details.
NDK: End launch 47.352
NDK: End launch1 47.352
NDK: Launch error: Failed to connect to remote VM

hi adrian_dsl,
The VM is too slow. Please use physical device to debug when doing ndk development. if you use the Tegra system, I would recommand you to use Nsight Tegra Visual Studio Edition. it would be successful.