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.

14 comments
Comment actions Permalink

Hi,

please attach a screenshot and check IDEA log for exceptions first.

0
Comment actions Permalink

Hi,

Thanks. I think this happens when there are analysis errors for the corresponding source file. So it would be normal.

Best regards,

Werner.

0
Comment actions Permalink

I see the same behavior in IntelliJ15.0.

Screen Shot 2015-11-12 at 2.52.39 PM.png

0
Comment actions Permalink

I corrected the analysis problems, but the issue is still there. The logs don't show anything particular.

Werner.

0
Comment actions Permalink

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.

0
Comment actions Permalink

it is fixed in 143.631 (15.0.2), not 15.0.1

0
Comment actions Permalink

OK, then I'll wait for that version to become available in CE and report back.

0
Comment actions Permalink

sure, thanks! for now it is only in eap

0
Comment actions Permalink
I've got CE 15.0.3 now and this still doesn't work. When I click on another stack frame the variables pane is not updated and I can't see values in the tooltips in the source either.
0
Comment actions Permalink

Could you please file a bug on v 15.0.3 then with more details? Thanks

 

0
Comment actions Permalink

Also switching frames is possible only from the frames view (not threads view)

0
Comment actions Permalink

I'm sorry. That is my fault. I should have used the frames view. I tried it again and everything works fine. Thanks!

0
Comment actions Permalink

No problem, this is counter intuitive, I agree. Will think about improving this. Thanks anyway!

0

Please sign in to leave a comment.