IntelliJ IDEA 调式debug出错
报错代码
D:\Programs\jdk-13.0.2\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:52346,suspend=y,server=n -javaagent:C:\Users\流年\AppData\Local\JetBrains\IntelliJIdea2020.2\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath “D:\Document\PROGRAM_WORK\JAVA_SE\IDEA\HSPVideo\out\production\HSPVideo;D:\Programs\IntelliJ IDEA\lib\idea_rt.jar” com.hspedu.equal.Student
Connected to the target VM, address: ‘127.0.0.1:52346’, transport: ‘socket’
FATAL ERROR in native method: processing of -javaagent failed, appending to system class path failed
Unexpected error (103) returned by AddToSystemClassLoaderSearch
Unable to add C:\Users\����\AppData\Local\JetBrains\IntelliJIdea2020.2\captureAgent\debugger-agent.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed
Disconnected from the target VM, address: ‘127.0.0.1:52346’, transport: ‘socket’
Process finished with exit code 1
解决方式如下图