java - Convert char[] to String in BTrace -
I am defining the application and facing the limit. I try to get a name for current java.lang.Thread
. Usually you can call getName ()
but it is forbidden at btrace-scripts (any call exception BTraceUtils
). Is there any idea how to get the string from to the original []
?
The basic task is to find out whether the name of the thread is a sub-string or not, only to find out (reducing information). Use the "built-in" function from
name (thread)
BTraceUtils . As an argument, it seems that its argument is a thread and it returns the name of the thread. Additionally, the thread ID (thread) function returns the ID of the thread.
You check BTraceUtils class - online.
Cheers,
JB
Comments
Post a Comment