mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
IJPL-166 enable coroutine dump a little bit later, log error
GitOrigin-RevId: 214a83e6855634ecc47c6cf8b17f4920336f729a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
082d393a4b
commit
b6bbebcdae
@@ -29,8 +29,8 @@ fun isCoroutineDumpHeader(line: String): Boolean {
|
||||
return line == COROUTINE_DUMP_HEADER || line == COROUTINE_DUMP_HEADER_STRIPPED
|
||||
}
|
||||
|
||||
fun enableCoroutineDump() {
|
||||
runCatching {
|
||||
fun enableCoroutineDump(): Result<Unit> {
|
||||
return runCatching {
|
||||
DebugProbes.enableCreationStackTraces = false
|
||||
DebugProbes.install()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user