I have expression like this in Kotlin:
fun getSomething() = create()
How to check in IntelliJ IDEA (Android Studio) during debug what value does function return? If I just put breakpoint it does not show expression result.
UPD. I understand that if I rewrite code using a temporary variable I could debug it:
fun getSomething() {
var tmp = create()
return tmp
}
But how to do it without rewriting code?