fwcd / fwcd/kotlin-debug-adapter

Cannot Debug Quarkus Kotlin project

Open
#66 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
150
Forks
29
PR merge metrics
No merged PRs in 30d

Description

I got these errors in VS Code:

[ERROR] Caused by: com.sun.jdi.AbsentInformationException
[ERROR] at jdk.jdi/com.sun.tools.jdi.ReferenceTypeImpl.baseSourceName(ReferenceTypeImpl.java:769)
[ERROR] at jdk.jdi/com.sun.tools.jdi.ReferenceTypeImpl.baseSourcePath(ReferenceTypeImpl.java:777)
[ERROR] at jdk.jdi/com.sun.tools.jdi.BaseLineInfo.liSourcePath(BaseLineInfo.java:57)
[ERROR] at jdk.jdi/com.sun.tools.jdi.LocationImpl.sourcePath(LocationImpl.java:201)
[ERROR] at jdk.jdi/com.sun.tools.jdi.LocationImpl.sourcePath(LocationImpl.java:196)
[ERROR] at jdk.jdi/com.sun.tools.jdi.LocationImpl.sourcePath(LocationImpl.java:191)
[ERROR] at org.javacs.ktda.jdi.JDIDebuggee.sourceOf(JDIDebuggee.kt:171)
[ERROR] at org.javacs.ktda.jdi.JDIDebuggee.positionOf(JDIDebuggee.kt:167)
[ERROR] at org.javacs.ktda.jdi.stack.JDIStackFrame.(JDIStackFrame.kt:19)
[ERROR] at org.javacs.ktda.jdi.stack.JDIStackTrace.(JDIStackTrace.kt:11)
[ERROR] at org.javacs.ktda.jdi.JDIThread.stackTrace(JDIThread.kt:35)
[ERROR] at org.javacs.ktda.jdi.JDIThread.stackTrace(JDIThread.kt:14)
[ERROR] at org.javacs.ktda.adapter.KotlinDebugAdapter.stackTrace(KotlinDebugAdapter.kt:348)

launch.json

{
"version": "0.2.0",
"configurations": [
{
"preLaunchTask": "quarkusDev",
"type": "kotlin",
"request": "attach",
"projectRoot": "${workspaceFolder}",
"hostName": "localhost",
"name": "Debug Quarkus application",
"timeout": 30000,
"port": 5005
}
]
}

openjdk 17.0.5 2022-10-18
OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8)
OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode, sharing)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.