https://kotlinlang.org logo
#getting-started
Title
# getting-started
j

jeggy

08/27/2021, 8:57 AM
When using the Kotlin Debugger it happens over and over again that my variables are marked as
'this@with' is not captured
. Is there anything I can disable to not optimise the Kotlin Compiler when running in debug mode?
t

Tomasz Krakowiak

08/27/2021, 2:27 PM
I forwarded it to #intellij. Maybe some bug, but they probably know better if it's already reported.
a

Alexey Belkov [JB]

08/27/2021, 3:05 PM
I don't think something can be disabled here. It looks like https://youtrack.jetbrains.com/issue/KT-24585, but if it doesn't describe your case exactly, please create a new YouTrack issue.
👍 1
j

jeggy

08/27/2021, 3:23 PM
Seems like it's exactly that one. Only difference is I use
with
instead of
apply
.
6 Views