fwcd / fwcd/kotlin-debug-adapter

NoClassDefFound when trying to debug using default generated launch.json

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

Description

Using Ktor web server with the following main
```kotlin

@UseExperimental(KtorExperimentalAPI::class)
fun main(args: Array) {
val server = embeddedServer(CIO, 8080, module = Application::module)
server.start(wait = true)
}

```

![image](https://user-images.githubusercontent.com/18282288/65962939-a009ee00-e451-11e9-8039-18cf8be38143.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with the default generated launch.json and the Ktor main function shown in the issue. Trace the generated debug configuration and the NoClassDefFound error, then verify that the same application can be debugged successfully without the missing-class failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.