Inspecting java.util.HashMap key/values shows "Invalid evaluation expression"


Thanks for your work on the Scala plugin!

I'm working on a project that has both Scala and Java sources. I'm using Intellij IDEA 12.1.4 and Scala plugin v. 0.19.299.

Unfortunately, in debug mode, whenever I try to inspect a variable that happens to be a java.util.HashMap, when I try to inspect the key/value pairs, I see the error "Invalid evaluation expression."

Here's a screenshot of a trivial example:
Screen Shot 2013-09-19 at 10.19.08 PM.png
This is not a big deal in the example above, since the primitive key/value pairs are still displayed. However, when the value is an object that I would like to inspect further, this becomes a problem, as below:
Screen Shot 2013-09-19 at 10.24.43 PM.png

I don't see this behavior with other Java collections (e.g. java.util.ArrayList).

Is this a bug? Or is there a way to fix this? I was previously using Eclipse, which did not have a problem with this (but was far slower!).


Comment actions Permalink

I created issue for your request:

Best regards,
Alexander Podkhalyuzin.

Comment actions Permalink

Great, thanks! Much appreciated.


Please sign in to leave a comment.