[debugger] IDEA-358371 Hotswap should include all modified files even after compilation error

(cherry picked from commit 240ee34eba159e66c4ac235f4b43a0b1a3183876)

IJ-CR-147930

GitOrigin-RevId: 4d044a371864323f4728c7cd2caa67ab03d233ad
This commit is contained in:
Maksim Zuev
2024-11-18 14:05:54 +00:00
committed by intellij-monorepo-bot
parent 96cf4c153e
commit 044d678968
4 changed files with 27 additions and 3 deletions
@@ -77,8 +77,8 @@ private class HotSwapStatusListenerAdapter(private val originalSession: Debugger
}
override fun onFailure(sessions: MutableList<DebuggerSession>?) {
sessions?.createListeners(originalSession)?.forEach { it.onFinish() }
listener.onFinish()
sessions?.createListeners(originalSession)?.forEach { it.onFailure() }
listener.onFailure()
}
override fun onCancel(sessions: MutableList<DebuggerSession>?) {