Hi/When I click the debug button, the program didn't start and showed me this error/.

Answered

"C:\Program Files\Java\jdk-11.0.13\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62704,suspend=y,server=n -javaagent:C:\Users\Олег\AppData\Local\JetBrains\IdeaIC2021.2\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "D:\Java core lessons\untitled\out\production\untitled;D:\opt\idea\IntelliJ IDEA Community Edition 2021.2.3\lib\idea_rt.jar" Homework.NewByte
Connected to the target VM, address: '127.0.0.1:62704', transport: 'socket'
Unexpected error (103) returned by AddToSystemClassLoaderSearch
Unable to add C:\Users\����\AppData\Local\JetBrains\IdeaIC2021.2\captureAgent\debugger-agent.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed
FATAL ERROR in native method: processing of -javaagent failed
Disconnected from the target VM, address: '127.0.0.1:62704', transport: 'socket'

Process finished with exit code 1

1
8 comments

What exactly did you try? Post the new log.

0

When I click debug I get the output:

D:\opt\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:65399,suspend=y,server=n -javaagent:C:\Users\Олег\AppData\Local\JetBrains\IdeaIC2021.2\groovyHotSwap\gragent.jar -Dfile.encoding=UTF-8 -classpath "D:\opt\idea\out\production\idea;D:\opt\idea\IntelliJ IDEA Community Edition 2021.2.3\lib\idea_rt.jar" Homework7.Answers7
Connected to the target VM, address: '127.0.0.1:65399', transport: 'socket'
Unexpected error (103) returned by AddToSystemClassLoaderSearch
FATAL ERROR in native method: processing of -javaagent failed
Unable to add C:\Users\����\AppData\Local\JetBrains\IdeaIC2021.2\groovyHotSwap\gragent.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:65399', transport: 'socket'

Process finished with exit code 1

 


and i tried it:
0

Please disable Settings | Build, Execution, Deployment | Debugger | HotSwap | Enable hot-swap agent for Groovy code.

3

when i debug my program it shows

  • Connected to the target VM, address: '127.0.0.1:50097', transport: 'socket'

 

0

Rabi6824

It is a normal message that basically says "Ready for debugging". 

When the debugger starts, 'Console' view is shown by default. In order to view the variables, use watches, etc. you need to switch to the 'Debugger' view.

More information on debugging in IntelliJ IDEA can be found here: https://www.jetbrains.com/help/idea/debugging-code.html

0

Please sign in to leave a comment.