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

Hello,

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!).

Thanks!

2 comments

I created issue for your request: http://youtrack.jetbrains.com/issue/SCL-6117

Best regards,
Alexander Podkhalyuzin.

0

Great, thanks! Much appreciated.

0

Please sign in to leave a comment.