Hi, first time poster and newbie to Android/Studio...
# android
d
Hi, first time poster and newbie to Android/Studio, (but a greybeard otherwise 🧓) I’m trying to understand threading with cooroutines and found the AS Debug Tool Window: Frame: Thread drop down rather cryptic. The documentation (https://www.jetbrains.com/help/idea/debug-tool-window-frames.html#status) is not too helpful
The status and type of a thread is indicated by a special icon and a textual note next to the thread's name.
and googling is not much better. So how do I parse
"pool-2-thread-1 @coroutine#3"@4514 in group "main"
? What is
@4514
? and what is
group "main"
? Doing a thread dump, at the top of the stack for this thread is
"pool-2-thread-1 @coroutine#3@4514" prio=5 tid=0x10 nid=NA runnable
, so this is not on the main thread:
"main"@1 in group "main"
with thread dump:
"main@1" prio=5 tid=0x1 nid=NA waiting
Cheers, Daniel
a
Hi, this is not really related to Android Studio, it's better to ask this question in #coroutines, hope that helps.
d
Hi Alexey, thanks for your response. This is not a specific coroutines question, as all threads have the
@XXXX
tags and
in group "xxxx"
labels. I will try my luck there too 🙂