Debug出现内存资源不足
- 进入preference -> Build, Execution, Deployment -> Compiler -> Builder process heap size(Mbytes)
- 将值调大至1024或者更大
Debug调试无法进入源码底层
- 进入preference -> Build, Execution, Deployment -> Debugger -> Stepping -> Java
- 取消勾选 Do not step into classes
源码为只读状态无法添加注释
- 进入 File -> Project Structure -> SDKs -> 1.8 -> Sourcepath
- 删除关联的 /Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/src.zip
- 添加自身项目的JDK源码作为关联