Disconnected from the target VM, address: '127.0.0.1:62535', transport: 'socket' on intellij idea CE. I can't debug my program. Any suggestions?

disconnected from the target vm, address: 'localhost:8610', transport: 'socket'
disconnected from the target vm, address: '127.0 0.1 62236 transport: 'socket
intellij debugger not working
mute breakpoints intellij
process finished with exit code 1 intellij
process finished with exit code 1 intellij spring-boot
process finished with exit code 0 spring-boot
process finished with exit code 0 intellij

Connected to the target VM, address: '127.0.0.1:63073', transport: 'socket' Disconnected from the target VM, address: '127.0.0.1:63073', transport: 'socket'

Which line did you put breakpoint? Suppose you have the following snippet:

    public static void main(String[] args) {
        int res = add(5, 8);
        System.out.println(res);

    }

    public static int add(int a, int b)
    {
        int c=a+b;
        return c;
    }

When I put the breakpoint the line that has { under the add method. I got the very same error as you. If I put the breakpoint to the line int c=a+b;, the debugger works as expected. It's annoying, this is the solution I could come up.

Disconnected from the target VM, address: '127.0.0.1:40361 , I'm creating application Spring Boot 2.0. When I'm trying to debug my application it automatically disconnects and exit without any error [Spring] Disconnected from the target VM, address… 2020-03-22 18:02:00 • Spring Connected to the target VM, address: '127.0.0.1:14418', transport: 'socket' OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended .

I had the same problem. I noticed that the drop-down menu wasn't set on app. Check this out:

Disconnected from the target VM – IDEs Support (IntelliJ Platform , Disconnected from the target VM at '127.0.0.1:1333' using socket Connected to the target VM, address: '127.0.0.1:62705', transport: 'socket' when launching my run config in debug mode with #3368,this happens:Disconnected from the target VM at '127.0.0.1:1333' using socket transport. Process finished with exit code -1073741819any idea wh

Probably your program has a bug before your first breakpoint, or the program never reaches that breakpint.

Disconnected from the target VM, address: '127.0.0.1:62893 , Disconnected from the target VM, address: '127.0.0.1:62893', transport: 'socket', Programmer Sought, the best programmer technical posts sharing site. Disconnected from the target VM, address: '127.0.0.1:49551', transport: 'socket' Disconnected from server The CATALINE_BASE should be the same as the CATALINA_HOME. There is no C:\Program Files\Apache Software Foundation\Tomcat 8.0 folder. Is this an issue with IntelliJ or the catalina.bat. Thank you Bill

This issue is very simple to resolve. Click on debug again and in the right-hand corner, you should see a tool bar. There's an icon that looks like two red break points overlapping. Click on that. It will pop open a menu under any exception. Please ensure that Enabled, Suspend, All, Condition, log message to console and log evaluated expression are all checked.

Disconnected from the target VM, address: 'localhost:8602', transport , Disconnected from the target VM, address: 'localhost:8602', transport: 'socket', Programmer Sought, the best programmer technical posts sharing site. Disconnected from the target VM, address: '127.0.0.1:55567', transport: 'socket' class Connection(socket: Socket) extends Thread { private val out = new PrintStream(socket.getOutputStream)

The above message shows that JVM started and has stopped successfully.

Now what you are expecting is to halt on the breakpoint which you have applied in your program but you can't achieve that because you might have clicked on "Mute Breakpoints" button and are trying to debug a code which does not display anything on console.

Since all breakpoints are muted, your program does not halt on the expected line.

Disconnected from the target VM, address: '127.0.0.1:51928 , Disconnected from the target VM, address: '127.0.0.1:51928', transport: 'socket'. intellij debugger not working mute breakpoints intellij transport: 'socket' Connected to the target VM, address: '127.0.0.1:61759', transport: 'socket' Disconnected from the target VM, address: '127.0.0.1:61759', transport: 'socket' I believe this is because the Clojure compilation task forks an external JVM to execute. Should it not be doing this? Is there any workaround?

Disconnected from the target VM, address: '127.0.0.1:59770', About IDEA project start springboot abnormal - Disconnected from the target VM, address: '127.0.0.1:59770', transport: 'socket'. Earlier in the log (when running createFakeData) I see the messages “Connected to the target VM, address: ‘127.0.0.1:63495’, transport: ‘socket’” and “Disconnected from the target VM, address: ‘127.0.0.1:63495’, transport: ‘socket’”, which suggests that the debugger briefly connected to the wrong process.

[Spring] Disconnected from the target VM, address… · 뚠뚠라이프, Connected to the target VM, address: '127.0.0.1:14418', transport: 'socket' OpenJDK 64-Bit Server VM warning: Sharing is only supported for 

Comments
  • you may get it if you declared mistakenly 2 public static void main method.
  • Check if you have clicked on "Mute Breakpoints" button in intellij