intellij idea 显示Arraylist 扩容过程 解决not showing null elements
设置显示Arraylist中的null完整查看初始数组大小,扩容过程 一、 老版本:Settings -> Debugger -> Data Views -> Arrays -> Hide null array elements 新版本:Settings -> Debugger -> Data Views -> Java 取消Hide null elements in array and collections 或者设置断点,开始调试后,在idea下方的提示信息区的Variables或Watches右键选择Customize Data Views,取消Hide null elements in array and collections 二、 点击选择idea下方的提示信息区的Variables内的ArrayList变量右键View as 选择object,展开ArrayList变量,展开elementData查看全部ArrayList内容 来源: https://www.cnblogs.com/zhuyeshen/p/12512633.html