Sorry, I wasn't specific enough. Yes, you can see ThreadLocal instances while stepping through the context where they are defined. But considering their semi-global nature, would it be possible to display all TLs connected to a thread on demand? I have a bunch of 3rd-party libraries that do some TL magic and want to check upon their state.
Currently there's no such a functionality and looks like JDI doesn't offer anything to support it. Anyway, if it is critical for you, please submit an issue to our JIRA.
-- Best regards, Eugene Zhuravlev Software Developer JetBrains Inc. http://www.jetbrains.com "Develop with pleasure!"
Sorry, I wasn't specific enough. Yes, you can see ThreadLocal instances while stepping through the context where they are defined. But considering their semi-global nature, would it be possible to display all TLs connected to a thread on demand? I have a bunch of 3rd-party libraries that do some TL magic and want to check upon their state.
I'd like to resurrect this thread and hope there's an answer to this? Is there a way to see what threadlocal variables are associated with a particular thread?
What's the problem? They are displayed in the frame view just like ordinary fields.
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"tom quas" <no_mail@jetbrains.com> wrote in message news:24334084.1122969461513.JavaMail.javamailuser@localhost...
>
Sorry, I wasn't specific enough. Yes, you can see ThreadLocal instances while stepping through the context where they are defined. But considering their semi-global nature, would it be possible to display all TLs connected to a thread on demand? I have a bunch of 3rd-party libraries that do some TL magic and want to check upon their state.
Currently there's no such a functionality and looks like JDI doesn't offer anything to support it. Anyway, if it is critical for
you, please submit an issue to our JIRA.
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"tom quas" <no_mail@jetbrains.com> wrote in message news:13643447.1123073506527.JavaMail.itn@is.intellij.net...
I'd like to resurrect this thread and hope there's an answer to this? Is there a way to see what threadlocal variables are associated with a particular thread?