Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4106

Java Debugger (JPDA) timeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.3
    • None
    • debugger - Java
    • None
    • Environment: Windows 7, Netbeans 11.3, java jdk 1.8

    Description

      When attaching to remote java app (Quarkus executed through Maven), I am experiencing a timeout which results in the debugger not getting attached.  I've also have a copy of Netbeans 11.0 and Eclipse 2019-12 and they both connect to the same remote java app.  Error from messages.log is below and also the debugger dialog box.

       

      I also have a Macbook Air with netbeans 11.3 and it will connect to remove jvm for debugging.

       

      I'm guessing something didn't get installed correctly, but not sure what to check for.

       

      INFO [org.netbeans.api.debugger.jpda.AttachingDICookie]: Attaching Connector = com.sun.jdi.SocketAttach (defaults: timeout=, hostname=EMAA2AU00698KL, port=), arguments = {timeout=timeout=10000, hostname=hostname=localhost, port=port=5005}INFO [org.netbeans.api.debugger.jpda.AttachingDICookie]: Attaching Connector = com.sun.jdi.SocketAttach (defaults: timeout=, hostname=EMAA2AU00698KL, port=), arguments = {timeout=timeout=10000, hostname=hostname=localhost, port=port=5005}com.sun.jdi.connect.TransportTimeoutException: timed out trying to establish connection at com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:227) at com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:116) at com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:90)[catch] at org.netbeans.api.debugger.jpda.AttachingDICookie.getVirtualMachine(AttachingDICookie.java:206) at org.netbeans.modules.debugger.jpda.actions.StartActionProvider.doStartDebugger(StartActionProvider.java:163) at org.netbeans.modules.debugger.jpda.actions.StartActionProvider.access$200(StartActionProvider.java:55) at org.netbeans.modules.debugger.jpda.actions.StartActionProvider$1.run(StartActionProvider.java:140) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

      Attachments

        Activity

          People

            Unassigned Unassigned
            jefrog1844 Jeff Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: