This topic created in 3030 days ago, the information mentioned may be changed or developed.
4 replies • 2018-08-20 00:10:18 +08:00
 |
|
fmumuAug 15, 2018 via Android
1
是不是 idea 的 debug 工具实现有关
|
 |
|
idea 在调试的时候回去调用 toString() 方法去获取展示变量值在 variables 窗口,并且竟然可以不管 synchronized (惊)。所以在 append 里面打断点时,toStringCache 虽然设为空了,但一直被 IDEA 自动调用 toString 给赋值,导致最终出错。
|