3 comments
Comment actions Permalink

What did you mean about word Objects?
Debbuger is not a feature, which is really easy to use. I hope for changes, but not soon, I think.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

I mean singletons created by using the Object keyword in Scala.
I had hoped to be able to type some name into the watch window to be able to look at one, similar to watching static class members in Java.
I suspect this may require a Scala compiler change (so that it uses a well-known name for the Java static, or puts it in a map, or something) to be able to accomplish.  I was hoping to learn that, so that I can suggest it to the Scala folks if it is needed.

0
Comment actions Permalink

If this object is not some compenion module try following way: (new YourObject()).watchedValue()
If it's companion module, then it's possible that you need to use something like this: (new YourObject$()).MODULE$.watchedValue()
In second way, you can find problem with class importing. May you need to use something like multiline mode in evaluate expression.
Bothh ways are hacks. And we should improve it. But as workaround, you can try it. I hope it helps.

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.