Debugger not showing 'toString()'
已回答
I want to use the toString() method in the debugger of my IDEA.
I have an Integer Array which should be shown as '[1,1,1,1, 0, 0, 0, 0]'
but when making my own java type renderer the only output is: [I@84f3f67
It should look like the debugger which I got in Eclipse before using IntelliJ.
Hope you can help me.
请先登录再写评论。
Hi, please use Object[] as a type (or int[] or any other primitive array type), and "Arrays.toString(this)" as an expression.
See https://stackoverflow.com/questions/33549721/dumping-a-huge-array-in-intellij-idea-debugger
Thank you, that worked for me :)