Class SporkDebugger
In: lib/spork/ext/ruby-debug.rb
Parent: Object

Experimental! No automated tests are checking this, use at your own risk!

Methods

new   run  

Classes and Modules

Module SporkDebugger::NetworkHelpers
Class SporkDebugger::EachRunState
Class SporkDebugger::PreloadState

Constants

DEFAULT_PORT = 10_123
HOST = '127.0.0.1'

Attributes

instance  [R] 
state  [R] 

Public Class methods

[Source]

# File lib/spork/ext/ruby-debug.rb, line 22
  def initialize
    @state = SporkDebugger::PreloadState.new
    Spork.send(:each_run_procs).unshift(lambda do
      @state = @state.transition_to_each_run_state
    end)
  end

[Source]

# File lib/spork/ext/ruby-debug.rb, line 17
    def run
      @instance = new
    end

[Validate]