Rich S
Rich S

Reputation: 3455

Does Eclipse have a variable visualizer?

In Visual Studio, there is a feature to add a custom visualizer to the IDE. This allows you to write your own dialog showing the contents of complex objects at run-time (i.e. it might take a Person record and show the forename, surname and date of birth).

I can't find this feature in Eclipse/Java, but was wondering if it might be called something different?

Thanks, Rich

Upvotes: 0

Views: 289

Answers (3)

keuleJ
keuleJ

Reputation: 3496

The Feature is called Detail Formatter in Eclipse: Details

Upvotes: 5

Manish
Manish

Reputation: 3968

The closest thing that you can get in Eclipse is Variables View and Expressions. view. You can also Add a Watch Expression in variables view to track any particular object.

Upvotes: 0

Mathias Kluba
Mathias Kluba

Reputation: 122

I don't know about a special dialog, but in general a custom implementation of .toString() do the trick.

Upvotes: 0

Related Questions