I am writing simple program to get copied string and see if its a URL I want to check line by line debugging. I have set android:debuggable="true" in manifest.
Code stops at first line of the following code
ClipboardManager ClipMan = (ClipboardManager)getSystemService(Context.CLIPBOARD_SERVICE);
String url= (String) ClipMan.getText();
if(URLUtil.isValidUrl(url)){
//Some code
}
I used F6 key for stepping over each line, first line executes just fine but second line just takes me to another window which says "source not found". All subsequent breakpoints are ignored and code gets executed. I tried using breakpoint on each line of code and pressing F8, that gives same result and program gets executed.
I had similar code in project on ubuntu working fine, now I have moved to windows 7 and its not working.
Is "Version: Indigo Release" causing problem here?
I tried this solution Eclipse skipping over breakpoints when debugging java
But didn't work in my case.