CACAO
|
Go to the source code of this file.
|
static |
Checks if a given classloader is equal to the the second classloader or one of its ancestors (parents).
XXX: This helper method should be moved to java_lang_Classloader.
Definition at line 899 of file stacktrace.cpp.
|
static |
Definition at line 458 of file stacktrace.cpp.
classloader_t* stacktrace_first_nonnull_classloader | ( | void | ) |
Returns the first non-null (user-defined) classloader on the stack.
Definition at line 851 of file stacktrace.cpp.
classloader_t* stacktrace_first_nonsystem_classloader | ( | void | ) |
Returns the first non-system (user-defined) classloader on the stack.
A non-system classloader is a non-null classloader being not equal to the system classloader (or one of its ancestors).
Definition at line 926 of file stacktrace.cpp.
java_handle_bytearray_t* stacktrace_get | ( | stackframeinfo_t * | sfi | ) |
Definition at line 512 of file stacktrace.cpp.
classinfo* stacktrace_get_caller_class | ( | int | depth | ) |
Definition at line 784 of file stacktrace.cpp.
java_handle_bytearray_t* stacktrace_get_current | ( | void | ) |
Definition at line 635 of file stacktrace.cpp.
Definition at line 1067 of file stacktrace.cpp.
stacktrace_t* stacktrace_get_of_thread | ( | threadobject * | t | ) |
Creates a stacktrace for the given thread.
t | Given thread. |
XXX: Creation of the stacktrace starts at the most recent stackframeinfo block. If the thread is not inside the native world, the created stacktrace is not complete!
Definition at line 1358 of file stacktrace.cpp.
java_handle_objectarray_t* stacktrace_get_stack | ( | void | ) |
Definition at line 1135 of file stacktrace.cpp.
java_handle_t* stacktrace_get_StackTraceElement | ( | stacktrace_t * | st, |
int32_t | index | ||
) |
Creates a java.lang.StackTraceElement for one element of the given stacktrace.
st | Given stacktrace. |
index | Index of element inside stacktrace. |
Definition at line 656 of file stacktrace.cpp.
java_handle_objectarray_t* stacktrace_get_StackTraceElements | ( | stacktrace_t * | st | ) |
Creates a complete array of java.lang.StackTraceElement objects for the given stacktrace.
st | Given stacktrace. |
Definition at line 740 of file stacktrace.cpp.
java_handle_objectarray_t* stacktrace_getClassContext | ( | void | ) |
Definition at line 978 of file stacktrace.cpp.
void stacktrace_print | ( | stacktrace_t * | st | ) |
Definition at line 1286 of file stacktrace.cpp.
Definition at line 1316 of file stacktrace.cpp.
|
static |
Definition at line 1238 of file stacktrace.cpp.
void stacktrace_print_exception | ( | java_handle_t * | h | ) |
Definition at line 1432 of file stacktrace.cpp.
void stacktrace_print_of_thread | ( | threadobject * | t | ) |
Definition at line 1388 of file stacktrace.cpp.
void stacktrace_stackframeinfo_add | ( | stackframeinfo_t * | sfi, |
void * | pv, | ||
void * | sp, | ||
void * | ra, | ||
void * | xpc | ||
) |
Definition at line 84 of file stacktrace.cpp.
|
inlinestatic |
Definition at line 427 of file stacktrace.cpp.
|
inlinestatic |
Definition at line 239 of file stacktrace.cpp.
|
inlinestatic |
Definition at line 279 of file stacktrace.cpp.
void stacktrace_stackframeinfo_remove | ( | stackframeinfo_t * | sfi | ) |
Definition at line 204 of file stacktrace.cpp.