简体   繁体   中英

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?

在此处输入图片说明

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

https://code.google.com/p/android/issues/detail?id=81439

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM