mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[debugger] Extended dump fix: create a SuspendContextCommand to call getAllItems when suspendContext is available.
GitOrigin-RevId: a8a37d953a42168fdd79c3d30f2c5f7e12dca5d9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e5fdee826d
commit
08451a7a8e
@@ -122,7 +122,9 @@ class ThreadDumpAction : DumbAwareAction() {
|
||||
val timeout = Registry.intValue("debugger.thread.dump.suspension.timeout.ms", 500).milliseconds
|
||||
try {
|
||||
suspendAllAndEvaluate(context, timeout) { suspendContext ->
|
||||
getAllItems(suspendContext)
|
||||
withDebugContext(suspendContext) {
|
||||
getAllItems(suspendContext)
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (_: TimeoutCancellationException) {
|
||||
|
||||
Reference in New Issue
Block a user