Class Debugger::Breakpoint
In: ext/ruby_debug.c
Parent: Object

Document-class: Breakpoint

Summary

This class represents a breakpoint. It defines position of the breakpoint and condition when this breakpoint should be triggered.

Methods

enabled=   enabled?   expr   expr=   hit_condition   hit_condition=   hit_count   hit_value   hit_value=   id   pos   pos=   source   source=  

Public Instance methods

Enables or disables breakpoint.

Returns whether breakpoint is enabled or not.

Returns a codition expression when this breakpoint should be activated.

Sets the codition expression when this breakpoint should be activated.

Returns the hit condition of the breakpoint:

nil if it is an unconditional breakpoint, or :greater_or_equal, :equal, :modulo

Sets the hit condition of the breakpoint which must be one of the following values:

nil if it is an unconditional breakpoint, or :greater_or_equal(:ge), :equal(:eq), :modulo(:mod)

Returns the hit count of the breakpoint.

Returns the hit value of the breakpoint.

Sets the hit value of the breakpoint.

Returns id of the breakpoint.

Returns a position of this breakpoint.

Sets the position of this breakpoint.

Returns a source of the breakpoint.

Sets the source of the breakpoint.

[Validate]