I’ve been trying to get the debugger to work for weeks now.Today I finally got one step further by actually having the debugger launch. During launch I get the error message “Cannot launch gdbserver: all options have failed.” and “Failed to attach: Failed to start gdbserver on the device.”
I’ve found a couple of topics about the same error message but my problem seems to be slightly different. My device does connect through ADB. If I run “adb devices” from the command prompt the device is recognized and connected. When I run the debugger the application is launched on my tablet and it says “Waiting for debugger”. It never goes any further. This is alse when the error pops up in visual studio and now my device is marked as offline.
I looked through the Nsight Tegra log and found that I first get a bunch of errors saying:
“adb: error: failed to get feature set: device ‘0424516002630007f9a7’ not found”
And later I get a bunch of errors saying:
“adb: error: failed to get feature set: device offline”
It does this for all projects including the sample projects in the NDK and the ones that come with Codeworks for Android.
Here is a link to my log.
I’ve tried updating my drivers, updating Android platform tools, reinstalling Nsight Tegra and I’ve restarted everything multiple times.
Any help would be appreciated.