Can not display String variables in Eclipse (from the BlackBerry)
Please Login to Remove!
I am trying to use Eclipse in developing and debugging a BlackBerry project. In the debugger, when I have a String, on the Variables tab, the Eclipse debugger only shows the object id --
s == "(id=1139302400)"
If I add an Expression for s.toString() then it shows the correct value.
"s.toString()" = "Hello World!"
Any ideas how to get Eclipse to show the String value without having to enter an expression?
I solved this one. I must admit - I'm really impressed with Eclipse.
Eclipse has a feature called "Detail Formatters" (in Preferences > Java > Debug). I created one for type java.lang.String, giving it the code snippet "toString()".
Now in the Variables tab in the debugger, in the box at the bottom of that tab, it correctly shows the value of the String variable.