• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

eclipse viewing variable value in debugger

How can I get Value of variable instead of type while debugging java code in eclipse?
In other words why is for variable "input" displayed Value
variable valueand for variable "decoded" is displayed type?
variable typeI want to set for variable type to display its value as well without having it selected.
How can I do that?
1 Solution
Mark BullockQA Engineer IIICommented:
In the Variables tab,
1. click the downward pointing triangle which is at the top right
2. select Java / Java Preferences...
3. Click Detail Formatters
4. Click As the label for all variables

Some other options to see the values of those objects:
click the triangle to the left of the variable name or
hover your mouse over the variable.
Can you post the portion of your code that created and initiated the input variable?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now