This is an automated email from the ASF dual-hosted git repository.

entl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 7578518  Debugger attach needs to be initialized.
7578518 is described below

commit 757851837d858cd37b33cf7b46c5b07bce2915bd
Author: Martin Entlicher <[email protected]>
AuthorDate: Wed Jun 9 17:51:46 2021 +0200

    Debugger attach needs to be initialized.
---
 .../java/lsp/server/debugging/attach/NbAttachRequestHandler.java        | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/attach/NbAttachRequestHandler.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/attach/NbAttachRequestHandler.java
index 8b403f8..22e59a9 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/attach/NbAttachRequestHandler.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/attach/NbAttachRequestHandler.java
@@ -201,6 +201,8 @@ public final class NbAttachRequestHandler {
                     if (!finished.getAndSet(true)) {
                         notifyTerminated(context);
                     }
+                } else {
+                    context.getClient().initialized();
                 }
                 return ;
             }

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to