Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » remote (BlackBerry) debuggin
remote (BlackBerry) debuggin [message #259214] Wed, 25 June 2008 19:51 Go to next message
Paul Levin is currently offline Paul LevinFriend
Messages: 31
Registered: July 2009
Member
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?

Thanks,
Paul
Re: remote (BlackBerry) debuggin [message #259226 is a reply to message #259214] Thu, 26 June 2008 03:11 Go to previous message
Paul Levin is currently offline Paul LevinFriend
Messages: 31
Registered: July 2009
Member
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.

Paul


Paul Levin wrote:
> 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?
>
> Thanks,
> Paul
Previous Topic:Howto pre-index help plugin outside eclipse
Next Topic:export jar problem
Goto Forum:
  


Current Time: Tue Oct 01 19:29:48 GMT 2024

Powered by FUDForum. Page generated in 0.07829 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top