Debugging Android setup
I have a Nexus 7 device and my application runs great on it. But whenever I try to debug it, I get this error:
@Connecting to remote server failed: Remote connection closed@
If it doesn't hit a breakpoint, it will run fine. But if I put a breakpoint in, I get this error:
@The gdb process terminated unexpectedly (code 0)@
Just wondering if someone out there might have some information on how to setup the debugger. Iphone was pretty much plug and play.
How have you solved this issue? I am facing the very same problem, and I am completely out of ideas.
I have tried under Windows and under Ubuntu 14.04, and in both I face the same problem.
You have turned on the developer mode and ADB debugging in your phones, right?
Yes, that is all turned on.
I have found a related bug in QtCreator already reported at
On it, I have tried the "workaround" commented by hjk, which solved completely my issue under Ubuntu. On Windows now it does not appear any error, but the debugger ignores all the breakpoints.
I will try QtCreator3.3.0b1 and check if the problem is still there (probably not, since it is already marked as "Solved").
Nice research, thanks for posting.