Skip to content

Commit 2190599

Browse files
committed
Remove redundant debuggee.resume() in KotlinDebugAdapter
Calling 'resume()' twice results in skipped breakpoints and occasional IncompatibleThreadStateExceptions.
1 parent 6af2f69 commit 2190599

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ class KotlinDebugAdapter(
289289
exceptionsPool.clear()
290290
converter.variablesPool.clear()
291291
converter.stackFramePool.removeAllOwnedBy(args.threadId)
292-
// See the issue: https://github.com/fwcd/kotlin-debug-adapter/pull/40
293-
debuggee?.resume()
294292
}
295293
ContinueResponse().apply {
296294
allThreadsContinued = false

0 commit comments

Comments
 (0)