mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[debugger] Include attachments to the debugger errors
GitOrigin-RevId: 2d245c662ce6dce501cb13895e5866a6ffb1edbd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2d1d6a7aad
commit
0a4bddf993
@@ -172,7 +172,11 @@ object DebuggerDiagnosticsUtil {
|
||||
@JvmOverloads
|
||||
fun getAttachments(process: DebugProcessImpl, first: Attachment? = null): Array<Attachment?> {
|
||||
val paramAttachment = if (first != null) listOf(first) else emptyList()
|
||||
return (paramAttachment + createStateAttachments(process)).toArray(Attachment.EMPTY_ARRAY)
|
||||
val result = paramAttachment + createStateAttachments(process)
|
||||
for (attachment in result) {
|
||||
attachment.isIncluded = true
|
||||
}
|
||||
return result.toArray(Attachment.EMPTY_ARRAY)
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
|
||||
Reference in New Issue
Block a user