设置显示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内容
intellij idea 显示Arraylist 扩容过程 解决not showing null elements
免责声明:文章转载自《intellij idea 显示Arraylist 扩容过程 解决not showing null elements》仅用于学习参考。如对内容有疑问,请及时联系本站处理。
上篇常用Java虚拟机参数Linux下的压缩和解压缩命令gzip/gunzip下篇
宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=