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.
-
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
https://bugreports.qt-project.org/browse/QTCREATORBUG-13006?focusedCommentId=260307&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-260307On 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").
Best regards,
LoPiTaL -
Nice research, thanks for posting.