How to set breakpoints in class files without the source in Android Studio?


The class file is contained in a jar archive (which I don't have the source) and I can view that file like an ordinary Java file in Android Studio by the built-in de-compiler feature. I set breakpoints in that class file and started debugging but it didn't stop at the lines marked by breakpoints. Is there any way to do that?

enter image description here

There was an Android bug raised for the same. Please check if any of the solution works for you from following official bug tracker link

By : Rakesh

This video can help you solving your question :)
By: admin