From 396e67581be5a86fcc9792a40d81b2a6fc2fef71 Mon Sep 17 00:00:00 2001 From: Maria Sokolova Date: Mon, 26 Jan 2026 14:09:58 +0100 Subject: [PATCH] [debugger] Added XExecutionStackGroupsEvent and changed API of XExecutionStacksEvents IJPL-223919 GitOrigin-RevId: e92c182ef811c3b7f87bb118790cfa48770fe853 --- .../debugger/impl/rpc/XDebugSessionApi.kt | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/platform/xdebugger-impl/rpc/src/com/intellij/platform/debugger/impl/rpc/XDebugSessionApi.kt b/platform/xdebugger-impl/rpc/src/com/intellij/platform/debugger/impl/rpc/XDebugSessionApi.kt index b7fe97bc527f..70b97fb6b012 100644 --- a/platform/xdebugger-impl/rpc/src/com/intellij/platform/debugger/impl/rpc/XDebugSessionApi.kt +++ b/platform/xdebugger-impl/rpc/src/com/intellij/platform/debugger/impl/rpc/XDebugSessionApi.kt @@ -107,14 +107,25 @@ data class XDebugSessionDto( @ApiStatus.Internal @Serializable -sealed interface XExecutionStacksEvent { - @Serializable - data class NewExecutionStacks(val stacks: List, val last: Boolean) : XExecutionStacksEvent +sealed interface XExecutionStacksEvent - @Serializable - data class ErrorOccurred(val errorMessage: @NlsContexts.DialogMessage String) : XExecutionStacksEvent +@ApiStatus.Internal +@Serializable +sealed interface XExecutionStackGroupsEvent { } +@ApiStatus.Internal +@Serializable +data class NewExecutionStacksEvent(val stacks: List, val last: Boolean) : XExecutionStacksEvent, XExecutionStackGroupsEvent + +@ApiStatus.Internal +@Serializable +data class ErrorOccurredEvent(val errorMessage: @NlsContexts.DialogMessage String) : XExecutionStacksEvent, XExecutionStackGroupsEvent + +@ApiStatus.Internal +@Serializable +data class NewExecutionStackGroupsEvent(val groups: List, val last: Boolean) : XExecutionStackGroupsEvent + @ApiStatus.Internal @Serializable data class XExecutionStackDto(