Re:Under the Hood with Java 10 Enhanced Generics
by the_af on Tuesday December 30, 2014 @10:43AM
(#8814997)
It's interesting that debugging is reliable in your setup. I use Kepler-based Scala IDE, and debugging sometimes doesn't work, which means: not all expressions are inspectable. Sometimes you cannot inspect the value of a variable. I'm beginning to think this is actually a Scala issue: maybe those expressions simply get elided in the actual bytecode?
[ Parent
| on HN ]
Re:Under the Hood with Java 10 Enhanced Generics
by lmm on Tuesday December 30, 2014 @11:20AM
(#8815178)
It's possible; I tend to only look at member variables. Note that if you're inside a block then variables from a slightly larger scope are often under this/this$2 or similar. Are you using the old scala debugger or the new one? (I'm using Luna now, which didn't give me the choice, so presumably the new one is stable enough that they've made it the default?)