hugo
hugo copied to clipboard
Breakpoints not hit on annotated methods
This makes sense since hugo is generating new classes, but what is the work around? using Android Studio
Well it's rewriting your existing classes so the line numbers likely don't line up. Dunno if there's a way to fix this. I'll have to investigate at some point.
manually commenting out the annotation is working fine for now. Well worth the inconvenience for this great tool.
If memory serves, there should be a way to tell the AspectJ compiler to preserve the line number hints in the code that will fix this.
The bottom of this page mentions -XnoInline. Is that the flag you were mentioning?
http://wiki.eclipse.org/AspectJMaven/cobertura
Possibly. I'll try this weekend or early next week.
Gradle 1.9 broke mavenLocal() so this has been hard to test...
http://gradle.1045684.n5.nabble.com/mavenLocal-regression-in-1-9-td5712124.html
https://github.com/JakeWharton/hugo/compare/master...jw;debugging
Ever get a chance to try -XnoInline? Source code seems to show it's not in yet...