class Byebug::Runner
def debug_program
Debugs a script only if syntax checks okay.
def debug_program check_syntax($PROGRAM_NAME) status = Byebug.debug_load($PROGRAM_NAME, @stop) Byebug.puts "#{status}\n#{status.backtrace}" if status end
def debug_program check_syntax($PROGRAM_NAME) status = Byebug.debug_load($PROGRAM_NAME, @stop) Byebug.puts "#{status}\n#{status.backtrace}" if status end