How To Read Thraed ID

19 views
Skip to first unread message

shop.servic...@gmail.com

unread,
Jun 14, 2019, 12:46:38 PM6/14/19
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator Latest
Device IOS

I am monitoring the Threads in a module, I want to see the Thread ID, however on IOS 12+ Thread.getName() or Thread.toString() both return null.

Thoughts on how to look at the Thread ID?

Regards.

Kandy Bitxenio

unread,
Jun 14, 2019, 12:49:26 PM6/14/19
to codenameone...@googlegroups.com
Did you set the name no Thread create?

Best Regards

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/cd9e0393-ff6f-4726-9f1e-c03260fa2b45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shai Almog

unread,
Jun 15, 2019, 12:06:54 AM6/15/19
to CodenameOne Discussions
Thread name is only set for some threads. It very much depends how you created the thread.

shop.servic...@gmail.com

unread,
Jun 15, 2019, 10:30:07 AM6/15/19
to CodenameOne Discussions
Thanks.
Reply all
Reply to author
Forward
0 new messages