/*
* call-seq:
* Debugger.thread_context(thread) -> context
*
* Returns context of the thread passed as an argument.
*/
static VALUE
debug_thread_context(VALUE self, VALUE thread)
{
VALUE context;
debug_check_started();
thread_context_lookup(thread, &context, NULL);
return context;
}