Skip to main content



      Home
Home » Newcomers » Newcomers » remote (BlackBerry) debuggin
remote (BlackBerry) debuggin [message #259214] Wed, 25 June 2008 15:51 Go to next message
Eclipse UserFriend
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] Wed, 25 June 2008 23:11 Go to previous message
Eclipse UserFriend
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: Sun Jun 01 01:20:42 EDT 2025

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

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

Back to the top