miha-x64
05/15/2019, 8:01 AMprintln
is an inline-function which calls System.out.println
internally.
That's how Kotlin function inlining look like.Matej Drobnič
05/15/2019, 8:21 AMmiha-x64
05/15/2019, 8:24 AMprintln("str")
does not create an extra var for me.ilaborie
05/15/2019, 1:38 PMilaborie
05/15/2019, 2:02 PMilaborie
05/15/2019, 2:03 PMudalov
Ilmir Usmanov [JB]
05/16/2019, 3:56 PMprintln
is @InlineOnly
, so, you would not see the names of the variables (@InlineOnly
functions do not have local variables table and linenumber info, although this is going to change @yan). However, if you create your own inline function and then use it, you will variables like $i$f$<functionName>
and $i$a$<functionName>
in LVT (to see the LVT, pass -l
flag to javap). The value of these variables is not important (always false, although it can be changed in the future), but range of these variables is what the debugger is looking at. If we are inside $i$f...
range, we are inside inline function, if we are inside $i$a...
range, we are inside inline lambda.ilaborie
05/16/2019, 8:22 PMMatej Drobnič
05/20/2019, 6:32 AMMatej Drobnič
05/20/2019, 6:32 AMFudge
06/06/2019, 9:51 AMIlmir Usmanov [JB]
06/06/2019, 12:30 PM