-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Debug Quarkus Kotlin project #66
Comments
Are you sure Quarkus dev mode is starting? I tried doing the following now:
Tried this with both VSCode and Emacs (using dap-kotlin), and both works like a charm. Maybe quarkus dev isn't started properly? (what does the task quarkusDev look like?). Could you try starting it manually instead of as a prelaunchtask? Or maybe its the build files mentioned? (maybe try doing a gradle build?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: