Home
last modified time | relevance | path

Searched refs:DebugProbes (Results 1 – 21 of 21) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/
DToStringTest.kt19 DebugProbes.sanitizeStackTraces = false in setUp()
20 DebugProbes.install() in setUp()
26 DebugProbes.uninstall() in tearDown()
68 … assertEquals(expected, DebugProbes.jobToString(job).trimEnd().trimStackTrace().trimPackage()) in <lambda>()
69 …assertEquals(expected, DebugProbes.scopeToString(CoroutineScope(job)).trimEnd().trimStackTrace().t… in <lambda>()
106 … assertEquals(expected, DebugProbes.jobToString(root).trimEnd().trimStackTrace().trimPackage()) in checkHierarchy()
107 …assertEquals(expected, DebugProbes.scopeToString(CoroutineScope(root)).trimEnd().trimStackTrace().… in checkHierarchy()
DDebugTestBase.kt20 DebugProbes.sanitizeStackTraces = false in setUp()
21 DebugProbes.enableCreationStackTraces = true in setUp()
22 DebugProbes.install() in setUp()
28 DebugProbes.uninstall() in tearDown()
DDebugProbesTest.kt37 fun testAsyncWithProbes() = DebugProbes.withDebugProbes { in <lambda>()
38 DebugProbes.sanitizeStackTraces = false in <lambda>()
68 fun testAsyncWithSanitizedProbes() = DebugProbes.withDebugProbes { in <lambda>()
69 DebugProbes.sanitizeStackTraces = true in <lambda>()
DExample.kt24 DebugProbes.install() in <lambda>()
29 DebugProbes.dumpCoroutines() in <lambda>()
31 DebugProbes.printJob(deferred) in <lambda>()
DStacktraceUtils.kt92 DebugProbes.dumpCoroutines(PrintStream(baos)) in verifyDump()
126 DebugProbes.dumpCoroutines(PrintStream(baos)) in trimPackage()
133 assertEquals(createdCoroutinesCount, DebugProbes.dumpCoroutinesInfo().size) in trimPackage()
DCoroutinesDumpTest.kt23 val found = DebugProbes.dumpCoroutinesInfo().single { it.job === deferred } in <lambda>()
108 val coroutine = DebugProbes.dumpCoroutinesInfo().first { it.job is Deferred<*> } in <lambda>()
DLazyCoroutineTest.kt19 assertEquals(1, DebugProbes.dumpCoroutinesInfo().size) // Outer runBlocking in <lambda>()
DDumpWithoutCreationStackTraceTest.kt15 DebugProbes.enableCreationStackTraces = false in setUp()
DSanitizedProbesTest.kt21 DebugProbes.sanitizeStackTraces = true in setUp()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/
DREADME.md8 The main entry point to debug facilities is [DebugProbes] API.
9 Call to [DebugProbes.install] installs debug agent via ByteBuddy and starts spying on coroutines wh…
11 After that, you can use [DebugProbes.dumpCoroutines] to print all active (suspended or running) cor…
13 Additionally, it is possible to process the list of such coroutines via [DebugProbes.dumpCoroutines…
14 …erenced by a [Job] or [CoroutineScope] instances using [DebugProbes.printJob] and [DebugProbes.pr…
67 [DebugProbes.enableCreationStackTraces] along with agent startup.
73 For that, it is strongly recommended to switch off [DebugProbes.enableCreationStackTraces] property…
105 DebugProbes.install()
110 DebugProbes.dumpCoroutines()
112 DebugProbes.printJob(deferred)
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/junit4/
DCoroutinesTimeoutStatement.kt44 DebugProbes.uninstall() in evaluate()
57 DebugProbes.dumpCoroutines() in handleTimeout()
74 DebugProbes.dumpCoroutinesInfo().forEach { in cancelIfNecessary()
DCoroutinesTimeout.kt58 DebugProbes.enableCreationStackTraces = enableCoroutineCreationStackTraces
59 DebugProbes.install()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/api/
Dkotlinx-coroutines-debug.api15 public final class kotlinx/coroutines/debug/DebugProbes {
16 public static final field INSTANCE Lkotlinx/coroutines/debug/DebugProbes;
18 …public static synthetic fun dumpCoroutines$default (Lkotlinx/coroutines/debug/DebugProbes;Ljava/io…
26 …public static synthetic fun printJob$default (Lkotlinx/coroutines/debug/DebugProbes;Lkotlinx/corou…
28 …public static synthetic fun printScope$default (Lkotlinx/coroutines/debug/DebugProbes;Lkotlinx/cor…
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/resources/
DDebugProbesKt.binDebugProbes.kt package kotlin.coroutines.jvm.internal public final kotlin.coroutines.jvm. ...
/external/kotlinx.coroutines/integration-testing/src/debugAgentTest/kotlin/
DDebugAgentTest.kt15 DebugProbes.dumpCoroutines(PrintStream(baos)) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/
DDebugProbes.kt36 public object DebugProbes { object
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/junit4/
DTestFailureValidation.kt37 DebugProbes.sanitizeStackTraces = false
/external/kotlinx.coroutines/docs/
Ddebugging.md88 at kotlinx.coroutines.debug.DebugProbes.install(DebugProbes.kt:49)
/external/kotlinx.coroutines/
DREADME.md46 * [DebugProbes] API to probe, keep track of, print and dump active coroutines;
260 [DebugProbes]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-debug/kotlinx.corouti…
DCHANGES.md129 * `DebugProbes` are ready for production installation: its performance is increased, the flag to di…
170 * `DebugProbes.dumpCoroutines` is optimized to be able to print the 6-digit number of coroutines (#…
/external/kotlinc/lib/
Dkotlin-stdlib.jarMETA-INF/ META-INF/MANIFEST.MF kotlin/ kotlin/collections/ kotlin/ ...