设置显示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内容

相关文章:

  • 2021-07-01
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
  • 2022-12-23
  • 2021-09-12
猜你喜欢
  • 2022-01-20
  • 2021-08-16
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
相关资源
相似解决方案