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
|
||||
- Convert java expression to kotlin when open Evaluate Expression dialog from Variables View
|
||||
- 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
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ class KotlinCodeFragmentFactory: CodeFragmentFactory() {
|
||||
|
||||
val debuggerContext = DebuggerManagerEx.getInstanceEx(project).context
|
||||
val debuggerSession = debuggerContext.debuggerSession
|
||||
if (debuggerSession == null) {
|
||||
if (debuggerSession == null || debuggerContext.suspendContext == null) {
|
||||
null
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user