Lines Matching defs:thread
21 CliCommand("print a stack trace of the current thread",
23 "Prints a stack trace for the current thread.")
32 // get the current thread
35 Thread* thread = context.CurrentThread();
36 if (thread == NULL) {
37 printf("no current thread\n");
41 if (thread->State() != THREAD_STATE_STOPPED) {
42 printf("Current thread is not stopped. Can't get stack trace.\n");
47 StackTrace* stackTrace = thread->GetStackTrace();
52 stackTrace = thread->GetStackTrace();