/* * call-seq: * breakpoint.hit_count -> int * * Returns the hit count of the breakpoint. */ static VALUE breakpoint_hit_count(VALUE self) { debug_breakpoint_t *breakpoint; Data_Get_Struct(self, debug_breakpoint_t, breakpoint); return INT2FIX(breakpoint->hit_count); }