-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't debug .aj file in Android Studio #118
Comments
This is an IDE issue, not an issue with this plugin |
Thanks for your reply. I guess AS doesn't support .aj files, when you enable the AspectJ plugin in the Preference menu and try to open a .aj file, it freezes. |
Oh that's strange. I have personally had luck debugging on java aspect files in the pat. If you don't have many aspects/pointcuts it may be worth it to convert to the annotation-based aspects in java rather than .aj if debugging is necessary |
Interesting, not sure how you got it to work on your project. Would you mind sharing your Archinamon plugin app settings? I've migrated many .aj files from Eclipse project, so it's lots of rework. |
@cyangibm Sure, this sample project is what my setup looks like (I think Android Gradle 4.0.0, Gradle 6.1.1, android-gradle-aspectj 4.2.1) https://github.com/jdvp/AndroidAspectExample I am able to debug in Android Studio on the advices defined inside the AspectLogging.kt file. Hopefully that helps |
The plugin doesn't allow you to set debug breakpoint in .aj classes.
If it does, how do you enable it?
The text was updated successfully, but these errors were encountered: