Avoid 1s delay in completion in debugger fields if session is not stopped on a breakpoint
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
- Configure Kotlin: restore all changed files in undo action
|
- Configure Kotlin: restore all changed files in undo action
|
||||||
- Convert java expression to kotlin when open Evaluate Expression dialog from Variables View
|
- Convert java expression to kotlin when open Evaluate Expression dialog from Variables View
|
||||||
- Fix Evaluate Expression for expression created for array element
|
- Fix Evaluate Expression for expression created for array element
|
||||||
|
- Avoid 1s delay in completion in debugger fields if session is not stopped on a breakpoint
|
||||||
|
|
||||||
### Java to Kotlin converter
|
### Java to Kotlin converter
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ class KotlinCodeFragmentFactory: CodeFragmentFactory() {
|
|||||||
|
|
||||||
val debuggerContext = DebuggerManagerEx.getInstanceEx(project).context
|
val debuggerContext = DebuggerManagerEx.getInstanceEx(project).context
|
||||||
val debuggerSession = debuggerContext.debuggerSession
|
val debuggerSession = debuggerContext.debuggerSession
|
||||||
if (debuggerSession == null) {
|
if (debuggerSession == null || debuggerContext.suspendContext == null) {
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user