1.打开MAT弹出报错日志
2.分析报错日志
sh-3.2# cat /Users/ifeng/.eclipse/394168535_macosx_cocoa_x86_64/configuration/1575430222030.log
!SESSION 2019-12-04 11:30:21.894 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=zh_CN
Framework arguments: -keyring /Users/ifeng/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -data /Users/ifeng/Documents/mat -keyring /Users/ifeng/.eclipse_keyring
!ENTRY org.eclipse.osgi 4 0 2019-12-04 11:30:25.992
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: The platform metadata area could not be written: /Users/ifeng/Documents/mat/.metadata. By default the platform writes its content
under the current working directory when the platform is lau