Sha256: e92be5e818dc85ba1d19cf3af90e8ed44139f83ef8f904297f724e1c4e520a3f

Contents?: true

Size: 329 Bytes

Versions: 12

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

require "byebug/setting"

module Byebug
  #
  # Setting to enable/disable linetracing.
  #
  class LinetraceSetting < Setting
    def banner
      "Enable line execution tracing"
    end

    def value=(val)
      Byebug.tracing = val
    end

    def value
      Byebug.tracing?
    end
  end
end

Version data entries

12 entries across 12 versions & 7 rubygems

Version Path
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/linetrace.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/byebug-10.0.2/lib/byebug/settings/linetrace.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/byebug-10.0.2/lib/byebug/settings/linetrace.rb
talon_one-2.0.0 vendor/bundle/ruby/2.3.0/gems/byebug-11.0.1/lib/byebug/settings/linetrace.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/byebug-11.0.1/lib/byebug/settings/linetrace.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/byebug-11.0.1/lib/byebug/settings/linetrace.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/byebug-11.0.1/lib/byebug/settings/linetrace.rb
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/linetrace.rb
byebug-11.0.1 lib/byebug/settings/linetrace.rb
byebug-11.0.0 lib/byebug/settings/linetrace.rb
byebug-10.0.2 lib/byebug/settings/linetrace.rb
byebug-10.0.1 lib/byebug/settings/linetrace.rb