Skip to content

Commit 633c84f

Browse files
committed
Remove unused JDI import and rename 'resumeVm' to 'resume'
1 parent 76fade5 commit 633c84f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

adapter/src/main/kotlin/org/javacs/ktda/adapter/KotlinDebugAdapter.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import org.javacs.ktda.core.launch.AttachConfiguration
3232
import org.javacs.ktda.core.breakpoint.ExceptionBreakpoint
3333
import org.javacs.ktda.classpath.debugClassPathResolver
3434
import org.javacs.ktda.classpath.findValidKtFilePath
35-
import org.javacs.ktda.jdi.JDIDebuggee
3635

3736
/** The debug server interface conforming to the Debug Adapter Protocol */
3837
class KotlinDebugAdapter(
@@ -272,7 +271,7 @@ class KotlinDebugAdapter(
272271
converter.variablesPool.clear()
273272
converter.stackFramePool.removeAllOwnedBy(args.threadId)
274273
// See the issue: https://github.com/fwcd/kotlin-debug-adapter/pull/40
275-
debuggee?.resumeVm()
274+
debuggee?.resume()
276275
}
277276
ContinueResponse().apply {
278277
allThreadsContinued = false

adapter/src/main/kotlin/org/javacs/ktda/core/Debuggee.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface Debuggee {
1818

1919
fun exit()
2020

21-
fun resumeVm()
21+
fun resume()
2222

2323
fun updateThreads()
2424

adapter/src/main/kotlin/org/javacs/ktda/jdi/JDIDebuggee.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class JDIDebuggee(
133133
}
134134
}
135135

136-
override fun resumeVm() {
136+
override fun resume() {
137137
vm.resume()
138138
}
139139

0 commit comments

Comments
 (0)