Class: Debugger::Breakpoint
- Inherits:
-
Object
- Object
- Debugger::Breakpoint
- Defined in:
- ext/ruby_debug.c
Instance Method Summary collapse
-
#expr ⇒ String
Returns a codition expression when this breakpoint should be activated.
-
#id ⇒ Integer
Returns id of the breakpoint.
-
#pos ⇒ String, Integer
Returns a position of this breakpoint.
-
#source ⇒ String
Returns a source of the breakpoint.
Instance Method Details
#expr ⇒ String
Returns a codition expression when this breakpoint should be activated.
1529 1530 1531 1532 1533 1534 1535 1536 |
# File 'ext/ruby_debug.c', line 1529
static VALUE
breakpoint_expr(VALUE self)
{
debug_breakpoint_t *breakpoint;
Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
return breakpoint->expr;
}
|
#id ⇒ Integer
Returns id of the breakpoint.
1544 1545 1546 1547 1548 1549 1550 1551 |
# File 'ext/ruby_debug.c', line 1544
static VALUE
breakpoint_id(VALUE self)
{
debug_breakpoint_t *breakpoint;
Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
return INT2FIX(breakpoint->id);
}
|
#pos ⇒ String, Integer
Returns a position of this breakpoint.
1514 1515 1516 1517 1518 1519 1520 1521 |
# File 'ext/ruby_debug.c', line 1514
static VALUE
breakpoint_pos(VALUE self)
{
debug_breakpoint_t *breakpoint;
Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
return breakpoint->pos;
}
|
#source ⇒ String
Returns a source of the breakpoint.
1499 1500 1501 1502 1503 1504 1505 1506 |
# File 'ext/ruby_debug.c', line 1499
static VALUE
breakpoint_source(VALUE self)
{
debug_breakpoint_t *breakpoint;
Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
return breakpoint->source;
}
|