When I run debugger, some files (but not all files) the line that is highlighted is not actually the line being run. This makes debugging a bit confusing. I'd be ok if it always happened or never happened but with this happening sometimes and not other times, it's really hard to find the bug.
You can see above that the line highlighted is in
newArray(...)
but given the variable details at the bottom, it is clearly running in the middle of public static Parcel obtain()
.
This seems to only happen to files that I have not made like Parcel.java
, but not all the time. Also, you can see in the example that there is red which marks error. This also happens when the app runs without error so I don't know why those appear. That's probably a separate question though.
And my gradle:
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.mattermost.mattermost"
minSdkVersion 19
/* If you want to change targetSdkVersion to higher version, please make sure you
* convert application icon to meet desired lollipop guidelines, that is icon should be
* flat and white*/
targetSdkVersion 23
versionCode 306
versionName "3.0.6"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
}
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
exclude 'META-INF/services/com.fasterxml.jackson.core.JsonFactory'
}
}