Class: Byebug::LinetraceSetting

Inherits:
Setting
  • Object
show all
Defined in:
lib/byebug/settings/linetrace.rb

Overview

Setting to enable/disable linetracing.

Constant Summary

Constants inherited from Setting

Setting::DEFAULT

Instance Method Summary collapse

Methods inherited from Setting

[], []=, #boolean?, find, #help, help_all, #initialize, #integer?, settings, #to_s, #to_sym

Constructor Details

This class inherits a constructor from Byebug::Setting

Instance Method Details



10
11
12
# File 'lib/byebug/settings/linetrace.rb', line 10

def banner
  "Enable line execution tracing"
end

#valueObject



18
19
20
# File 'lib/byebug/settings/linetrace.rb', line 18

def value
  Byebug.tracing?
end

#value=(val) ⇒ Object



14
15
16
# File 'lib/byebug/settings/linetrace.rb', line 14

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