Files
openide/java/testFramework
Egor Ushakov b103326863 IDEA-354542 Slow frame location resolve blocks the debugger
Rename methods

Fix debugger process await

Force stop debug process in tests

Do not create additional thread

fixing tests: wait for the debug process to stop

Test hotfix: await debugger thread complete

Introduce DebuggerCompletableFuture

fixing tests: do not rely that much on invokeRatherLater

fixing tests: command cancel may happen off debugger manager thread

added experimental annotations

Add DebuggerDispatcherTest

removed debugProcess param

reduce methods visibility

Call continuation in case of command cancellation

Fix test: call continuation in any case

Clean up

Unify invokeWithChecks

introduced onSuspend

Invoke resume in tests only after all commands complete

[debugger] IDEA-354542 Remove unused constructor parameter

Close test debugger manager thread on dispose

Close debugger manager thread in tests

Add extra check to the continuation set

Fix project leak in test, set up test disposable for DebuggerManagerThread

Launch single command once

Fix API test

Fix test: request source position from debugger manager thread

Clean up code

Clean up command scope creation

SuspendContextCommand logic should be skipped on coroutine resume

cancel coroutine scope in finally block

handle command cancellation

Rename .java to .kt

Fix read action

Start as completable future

Run with commands

Use coroutines in FileApplicabilityChecker

handle exceptions like before

Launch with dispatch

make internal

allow the dispatcher to work without a command in context

renamed debugger thread dispatcher

Add coroutines util functions

Wrap into readAction-s

Extract caching code in CompoundPositionManager

Small code clean up

minimize changes

IDEA-354542 Slow frame location resolve blocks the debugger - introduced PositionManagerAsync


Co-authored-by: Maksim Zuev <Maksim.Zuev@jetbrains.com>

Merge-request: IJ-MR-136324
Merged-by: Maksim Zuev <Maksim.Zuev@jetbrains.com>

GitOrigin-RevId: d78e8514b89afdde6bc710bb322d67ddea6449e8
2024-06-27 20:27:29 +00:00
..