Posts [ 4 ]

Topic: The strange glitch IntelliJ IDEA

IntelliJ IDEA 2016.1.3Faced the such:

if (__ || Function ()) {
//......
}

It is always fulfilled regardless of the fact that in a constant and that Function returns ().I.e. laid down break point on a condition and a debugger: "__ || Function ()" = falseAnd the condition is fulfilled! Began to change the code, the glitch disappeared. Returned back as was - the glitch is not present.Then found out the same in other place. Touched nothing, but made "Rebuild project" - the condition ceased to be fulfilled, there where should not.What for nonsense?The matter is that I found out it after a month after new APK on PlayMarket and did not know that the program works not correctly.How to prevent the such? From time to time to rebuild the project?

Re: The strange glitch IntelliJ IDEA

What difference that shows IDEA, your program on the real device is fulfilled, so or the condition is correctly written or is not present, the object inspector theoretically just can show incorrectly something, and here a reality will not deceive.