mark
mark

Reputation: 62876

Does IntelliJ support something like VS Debugger Visualizers?

I would like to see the contents of a certain Enumeration<T> instance. In the absence of a List/Array like type accepting it in its constructor another viable option would be a Debugger Visualizer, something that exists in VS.

How can I do it in IntelliJ?

Upvotes: 3

Views: 1313

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402423

IntelliJ IDEA has Data Type Renderers for the debugger:

IntelliJ IDEA allows you to specify how different objects are displayed in the debugger on a class-by-class basis. You can assign expressions to display rather than rely on the object's String representation.

For example, if an object represents a user, you may want to see users represented by their login name; or, for a cache entry object, its age and contents may be appropriate. IntelliJ IDEA refers to these as type renderers.

Upvotes: 3

Related Questions