Class: Canopus::Breakpoints
- Inherits:
-
Object
- Object
- Canopus::Breakpoints
- Defined in:
- sig/debug.rbs
Defined Under Namespace
Classes: Entry
Constant Summary collapse
- VERSION =
- RELATIVE_PATH =
- MAX_BYTES =
- MAX_ENTRIES =
- MAX_PATH_BYTES =
- MAX_CONDITION_BYTES =
- MAX_HIT_CONDITION_BYTES =
- MAX_LOG_MESSAGE_BYTES =
- MAX_LINE =
Instance Attribute Summary collapse
-
#entries ⇒ Array[Entry]
readonly
Returns the value of attribute entries.
-
#root ⇒ String
readonly
Returns the value of attribute root.
Instance Method Summary collapse
- #add ⇒ Entry
- #attach ⇒ self
- #close ⇒ nil
- #detach ⇒ Boolean
- #error ⇒ StandardError?
- #flush ⇒ self
- #for_path ⇒ Array[Entry]
-
#initialize ⇒ Breakpoints
constructor
A new instance of Breakpoints.
- #remove ⇒ Boolean
- #toggle ⇒ Entry?
- #update ⇒ Entry
Constructor Details
#initialize ⇒ Breakpoints
Returns a new instance of Breakpoints.
47 |
# File 'sig/debug.rbs', line 47
def initialize: (root: String) ?{ (String) -> void } -> void
|
Instance Attribute Details
#entries ⇒ Array[Entry] (readonly)
Returns the value of attribute entries.
45 46 47 |
# File 'sig/debug.rbs', line 45 def entries @entries end |
#root ⇒ String (readonly)
Returns the value of attribute root.
44 45 46 |
# File 'sig/debug.rbs', line 44 def root @root end |
Instance Method Details
#add ⇒ Entry
49 |
# File 'sig/debug.rbs', line 49
def add: (String path, Integer line, ?condition: String?, ?hit_condition: String?, ?log_message: String?, ?enabled: bool) -> Entry
|
#attach ⇒ self
53 |
# File 'sig/debug.rbs', line 53
def attach: (Canopus::Buffer buffer) -> self
|
#close ⇒ nil
55 |
# File 'sig/debug.rbs', line 55
def close: () -> nil
|
#detach ⇒ Boolean
54 |
# File 'sig/debug.rbs', line 54
def detach: (Canopus::Buffer buffer) -> bool
|
#error ⇒ StandardError?
57 |
# File 'sig/debug.rbs', line 57
def error: () -> StandardError?
|
#flush ⇒ self
56 |
# File 'sig/debug.rbs', line 56
def flush: () -> self
|
#for_path ⇒ Array[Entry]
48 |
# File 'sig/debug.rbs', line 48
def for_path: (String path) -> Array[Entry]
|
#remove ⇒ Boolean
50 |
# File 'sig/debug.rbs', line 50
def remove: (String path, Integer line) -> bool
|
#toggle ⇒ Entry?
51 |
# File 'sig/debug.rbs', line 51
def toggle: (String path, Integer line, ?condition: String?, ?hit_condition: String?, ?log_message: String?, ?enabled: bool) -> Entry?
|
#update ⇒ Entry
52 |
# File 'sig/debug.rbs', line 52
def update: (String path, Integer line, ?new_line: Integer, ?condition: String?, ?hit_condition: String?, ?log_message: String?, ?enabled: bool) -> Entry
|