ext/byebug/byebug.c in byebug-8.2.5 vs ext/byebug/byebug.c in byebug-9.0.0
- old
+ new
@@ -35,13 +35,13 @@
return breakpoints;
}
/*
* call-seq:
- * Byebug.catchpoints -> array
+ * Byebug.catchpoints -> hash
*
- * Returns an array of catchpoints.
+ * Returns the catchpoints hash.
*/
static VALUE
Catchpoints(VALUE self)
{
UNUSED(self);
@@ -350,11 +350,11 @@
}
else if (!NIL_P(breakpoints))
{
file = rb_tracearg_path(trace_arg);
/*
- * TODO: Sometimes the TracePoint API gives some return events without
+ * @todo Sometimes the TracePoint API gives some return events without
* file:line information, so we need to guard for nil until we know what's
* going on. This happens, for example, with active_support core extensions:
*
* [#7] call@.../core_ext/numeric/conversions.rb:124 Fixnum#to_s
* [#7] b_call@.../core_ext/numeric/conversions.rb:124 BigDecimal#to_s
@@ -839,10 +839,10 @@
/*
* call-seq:
* Byebug.add_catchpoint(exception) -> exception
*
- * Adds a new exception to the catchpoints array.
+ * Adds a new exception to the catchpoints hash.
*/
static VALUE
Add_catchpoint(VALUE self, VALUE value)
{
UNUSED(self);