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

Graalvm17 Native Image debug hang on vscode #25

@chaokunyang

Description

@chaokunyang

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions