You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For coroutine stack frame's this object sometimes you can't see L$0 in its field list.
Note
You won't be able to reproduce this example in the debugger, because synthetic this objects are not shown in the variables view. I tweaked the code to illustrate the problem.
Why is it important
In Kotlin debugger we need to remap this object from Continuation to CoroutineScope for coroutine stack frames. This remap is needed to keep information in the variables view consistent with type hints, and also without it, evaluation in some cases won't work properly. To solve the problem we try to get CoroutineScope from the completion field, however, I assume that it is better to use L$0 for this purpose.
The text was updated successfully, but these errors were encountered:
For coroutine stack frame's


this
object sometimes you can't seeL$0
in its field list.Note
You won't be able to reproduce this example in the debugger, because synthetic
this
objects are not shown in the variables view. I tweaked the code to illustrate the problem.Why is it important
In Kotlin debugger we need to remap
this
object fromContinuation
toCoroutineScope
for coroutine stack frames. This remap is needed to keep information in the variables view consistent with type hints, and also without it, evaluation in some cases won't work properly. To solve the problem we try to getCoroutineScope
from thecompletion
field, however, I assume that it is better to useL$0
for this purpose.The text was updated successfully, but these errors were encountered: