getStacktrace

Gets a representation of the thread's stacktrace