Can IntelliJ show variable values rather than type when debugging via SDM?

78 views
Skip to first unread message

Richard Wallis

unread,
Jan 7, 2015, 8:57:21 AM1/7/15
to google-we...@googlegroups.com
Trying out IntelliJ and the one thing keeping me from switching is that the debugger shows a variable's type instead of value.

eg: an ArrayList<String> containing "Foo" and "BAR" will show as ArrayList$ instead of ["FOO", "BAR"]

Has anyone got the debugger to show the value of toString() instead of the varaible's type?

---

It should be possible because SDBG manages it in eclipse using the callToString() method in it's WebkitRuntime class:

https://github.com/sdbg/sdbg/blob/master/com.github.sdbg.debug.core/src/com/github/sdbg/debug/core/internal/webkit/protocol/WebkitRuntime.java#L191

Jens

unread,
Jan 7, 2015, 9:27:32 AM1/7/15
to google-we...@googlegroups.com
Only manually. Right click on a node in the variables section and select "evaluate expression...". In the new window add .toString() to the expression and hit evaluate. 

-- J.

Richard Wallis

unread,
Jan 7, 2015, 9:33:40 AM1/7/15
to google-we...@googlegroups.com
Thanks will give it a try.

On Wed, Jan 7, 2015 at 4:27 PM, Jens <jens.ne...@gmail.com> wrote:
Only manually. Right click on a node in the variables section and select "evaluate expression...". In the new window add .toString() to the expression and hit evaluate. 

-- J.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/qAN3TrfQZ50/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages