mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[debugger] IJPL-194934: Return null in session.getUI when proxy is used
Previously it returned only when showFeWarnings is also enabled, but it should affect `LOG.error`s only (cherry picked from commit 811a0a318cd62257ebebd7d7266257978d57a206) IJ-CR-167745 GitOrigin-RevId: 05a9b883f26e515a0b6852bd24217204a2f43891
This commit is contained in:
committed by
intellij-monorepo-bot
parent
366206ee11
commit
1f3d0b7077
@@ -434,9 +434,11 @@ class XDebugSessionImpl @JvmOverloads constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun getUI(): RunnerLayoutUi? {
|
override fun getUI(): RunnerLayoutUi? {
|
||||||
return if (useFeProxy() && showFeWarnings()) {
|
return if (useFeProxy()) {
|
||||||
// See "TODO [Debugger.RunnerLayoutUi]" to see usages which are not yet properly migrated.
|
// See "TODO [Debugger.RunnerLayoutUi]" to see usages which are not yet properly migrated.
|
||||||
LOG.error("RunnerLayoutUi should not be used in split mode from XDebugSession")
|
if (showFeWarnings()) {
|
||||||
|
LOG.error("RunnerLayoutUi should not be used in split mode from XDebugSession")
|
||||||
|
}
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user