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
3232import org.javacs.ktda.core.breakpoint.ExceptionBreakpoint
3333import org.javacs.ktda.classpath.debugClassPathResolver
3434import org.javacs.ktda.classpath.findValidKtFilePath
35+ import org.javacs.ktda.jdi.JDIDebuggee
3536
3637/* * The debug server interface conforming to the Debug Adapter Protocol */
3738class KotlinDebugAdapter (
@@ -270,6 +271,7 @@ class KotlinDebugAdapter(
270271 exceptionsPool.clear()
271272 converter.variablesPool.clear()
272273 converter.stackFramePool.removeAllOwnedBy(args.threadId)
274+ (debuggee as JDIDebuggee ).resumeVm()
273275 }
274276 ContinueResponse ().apply {
275277 allThreadsContinued = false
Original file line number Diff line number Diff line change @@ -127,6 +127,10 @@ class JDIDebuggee(
127127 }
128128 return request != null
129129 }
130+
131+ open fun resumeVm () {
132+ vm.resume()
133+ }
130134
131135 override fun exit () {
132136 LOG .info(" Exiting JDI session" )
You can’t perform that action at this time.
0 commit comments