last_context (Debugger)

    /*
     *   call-seq:
     *      Debugger.last_interrupted -> context
     *
     *   Returns last debugged context.
     */
    static VALUE
    debug_last_interrupted(VALUE self)
    {
        VALUE result = Qnil;
        threads_table_t *threads_table;

        debug_check_started();

        Data_Get_Struct(threads_tbl, threads_table_t, threads_table);

        st_foreach(threads_table->tbl, find_last_context_func, (st_data_t)&result);
        return result;
    }