Cannot find local variable only for some parameters
Hello,
When I open another frame on the stack in the debugger for some parameters of the method I get "Cannot find local variable" and not for others. This didn't happen in the past. I'm currently using IntelliJ 14.1.5. Any idea why some debug information seems to be gone?
Best regards,
Werner.
Please sign in to leave a comment.
Hi,
please attach a screenshot and check IDEA log for exceptions first.
Hi,
Thanks. I think this happens when there are analysis errors for the corresponding source file. So it would be normal.
Best regards,
Werner.
I see the same behavior in IntelliJ15.0.

I corrected the analysis problems, but the issue is still there. The logs don't show anything particular.
Werner.
This looks like fixed https://youtrack.jetbrains.com/issue/IDEA-143151, you can chek that already in 15.0.2 eap (https://confluence.jetbrains.com/display/IDEADEV/IDEA+15+EAP)
I just updated to 15.0.1 CE build 143.382 and the problem remains. In fact, when you double click on a frame on the stack the variables pane is not updated, which is probably the cause.
it is fixed in 143.631 (15.0.2), not 15.0.1
OK, then I'll wait for that version to become available in CE and report back.
sure, thanks! for now it is only in eap
Could you please file a bug on v 15.0.3 then with more details? Thanks
Also switching frames is possible only from the frames view (not threads view)
I'm sorry. That is my fault. I should have used the frames view. I tried it again and everything works fine. Thanks!
No problem, this is counter intuitive, I agree. Will think about improving this. Thanks anyway!