Join Slack
Powered by
HI! How can we solve this issue when variables are...
# android
s
Sergio C.
08/19/2022, 10:21 AM
HI! How can we solve this issue when variables are not captured inside lambdas when debugging? Same debugging works fine with Java.
j
Javier
08/19/2022, 11:13 AM
write them directly or assign them to another variable (both temporarily) so you can get them
👍 1
Javier
08/19/2022, 11:13 AM
not sure if there is another workaround
s
Sergio C.
08/19/2022, 1:03 PM
yes that works. but is this a bug from android studio or Kotlin or something? What if we need some other variable?
j
Javier
08/19/2022, 1:22 PM
I think I have seen that in IDEA too
s
Sergio C.
08/19/2022, 1:37 PM
Ok. I'll check for open ticket for this bug and open one of needed.
6
Views
Open in Slack
Previous
Next