intellij idea - Breakpoints not getting hit in Android Studio -
I am using Windows 7 and recently switched from Eclipse to Android studio. I am having trouble in debugging now.
To run Android Studio 0.8.6, I establish a completely default installation, I am creating a new blank project, targeting the ICS SDK using the new project wizard. I then put a breakpoint on the street, click the debug button and run it.
Debugger is attached because I can see the message "Connecting to target VM" in the debugger window.
I know the code is being executed because I am updating some text in the UI to show it.
I have tried to put breakpoints in many places but no hits have happened.
My hair is pulling out here because I can not see what I am doing wrong. I'm gradually new, so I think there might be some setting in Grendel that I should change, but surely one of the very standard projects created with the wizard should allow me to kill the breakpoint?
One thing I have noticed is that there is no mention of any debug build in my build.gradle file, only one release. I wonder if this could be the problem?
Ensure that your JDK is the latest and only one JDK in your system.
Comments
Post a Comment