Weird debugger issue where a local variable goes m...
# intellij
r
Weird debugger issue where a local variable goes missing from the debugger. Evaluating it:
Cannot find local variable 'existingGoalsByExpirationDate' with type java.util.Map
. The variable shows up in the debugger on the first breakpoint, but is invisible to the second:
That's true also for the
existingWeightGoals
parameter to the method this is in.
a
Is that a coroutine function? Can you share some reproducible project in a YouTrack issue to investigate?
r
The function is a suspending function, but there are no suspending calls in it until after these breakpoints. In the screenshot I posted you can see the suspending calls in the gutter. I will see if I can create a repro.