[ 
https://issues.apache.org/jira/browse/NETBEANS-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Rogers updated NETBEANS-4106:
----------------------------------
    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)

!image-2020-04-03-09-33-22-866.png!

  was:
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.

 

 

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)

!image-2020-04-03-09-33-22-866.png!


> Java Debugger (JPDA) timeout
> ----------------------------
>
>                 Key: NETBEANS-4106
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4106
>             Project: NetBeans
>          Issue Type: Bug
>          Components: debugger - Java
>    Affects Versions: 11.3
>         Environment: Environment: Windows 7, Netbeans 11.3, java jdk 1.8
>            Reporter: Jeff Rogers
>            Priority: Major
>         Attachments: image-2020-04-03-09-33-22-866.png
>
>
> 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)
> !image-2020-04-03-09-33-22-866.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to