gpt4 book ai didi

intellij-idea - IntelliJ 是否支持 VS Debugger Visualizers 之类的东西?

转载 作者:行者123 更新时间:2023-12-04 06:19:10 25 4
gpt4 key购买 nike

我想看某Enumeration<T>的内容实例。在没有类似 List/Array 的类型在其构造函数中接受它的情况下,另一个可行的选择是 Debugger Visualizer,它存在于 VS 中。

我如何在 IntelliJ 中做到这一点?

最佳答案

IntelliJ IDEA 有 Data Type Renderers对于调试器:

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.

关于intellij-idea - IntelliJ 是否支持 VS Debugger Visualizers 之类的东西?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12479766/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com