File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
adapter/src/main/kotlin/org/javacs/ktda Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import org.javacs.ktda.core.launch.AttachConfiguration
32
32
import org.javacs.ktda.core.breakpoint.ExceptionBreakpoint
33
33
import org.javacs.ktda.classpath.debugClassPathResolver
34
34
import org.javacs.ktda.classpath.findValidKtFilePath
35
+ import org.javacs.ktda.jdi.JDIDebuggee
35
36
36
37
/* * The debug server interface conforming to the Debug Adapter Protocol */
37
38
class KotlinDebugAdapter (
@@ -270,6 +271,7 @@ class KotlinDebugAdapter(
270
271
exceptionsPool.clear()
271
272
converter.variablesPool.clear()
272
273
converter.stackFramePool.removeAllOwnedBy(args.threadId)
274
+ (debuggee as JDIDebuggee ).resumeVm()
273
275
}
274
276
ContinueResponse ().apply {
275
277
allThreadsContinued = false
Original file line number Diff line number Diff line change @@ -127,6 +127,10 @@ class JDIDebuggee(
127
127
}
128
128
return request != null
129
129
}
130
+
131
+ open fun resumeVm () {
132
+ vm.resume()
133
+ }
130
134
131
135
override fun exit () {
132
136
LOG .info(" Exiting JDI session" )
You can’t perform that action at this time.
0 commit comments