Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Graalvm17 Native Image debug hang on vscode #25

Open
chaokunyang opened this issue Nov 27, 2023 · 1 comment
Open

Graalvm17 Native Image debug hang on vscode #25

chaokunyang opened this issue Nov 27, 2023 · 1 comment
Assignees

Comments

@chaokunyang
Copy link

chaokunyang commented Nov 27, 2023

Graalvm debug hang with following config:
maven config:

<build>
        <plugins>
          <plugin>
            <groupId>org.graalvm.buildtools</groupId>
            <artifactId>native-maven-plugin</artifactId>
            <version>${native.maven.plugin.version}</version>
            <extensions>true</extensions>
            <executions>
              <execution>
                <id>build-native</id>
                <goals>
                  <goal>build</goal>
                </goals>
                <phase>package</phase>
              </execution>
              <execution>
                <id>test-native</id>
                <goals>
                  <goal>test</goal>
                </goals>
                <phase>test</phase>
              </execution>
            </executions>
            <configuration>
              <fallback>false</fallback>
              <agent>
                <enabled>true</enabled>
              </agent>
                <buildArgs>
                  <buildArg>-g</buildArg>
                  <buildArg>-O0</buildArg>
                </buildArgs>             
               <debug>true</debug>
            </configuration>
          </plugin>

lauch config:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "graalvm",
      "request": "attach",
      "name": "Attach",
      "protocol": "debugAdapter",
      "port": 4711
    }
  ]
}

image

graalvm version: 17:
image

@MartinBalin
Copy link
Collaborator

Can you provide more information like what Apache NetBeans Language Server is installed and what is in OUTPUT in VSCode for NetBeans when Verbose is ON? thank you

@MartinBalin MartinBalin changed the title Graalvm17 debug hang on vscode Graalvm17 Native Image debug hang on vscode Nov 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants