4 comments
Comment actions Permalink

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...

Is there actually a way to view threadlocals during a debug session?

>

Thanks,
-tom



0
Comment actions Permalink

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.

0
Comment actions Permalink

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...

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.



0
Comment actions Permalink

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?

0

Please sign in to leave a comment.