1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Corrected mis-indentation. Try diff -w to find that these are the same without

indentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2002-02-25 15:30:31 +00:00
parent 09290070e8
commit 6e2ad002ed

View file

@ -18,7 +18,7 @@ end
SCRIPT_LINES__ = {} unless defined? SCRIPT_LINES__
class DEBUGGER__
class Mutex
class Mutex
def initialize
@locker = nil
@waiting = []
@ -54,10 +54,10 @@ class DEBUGGER__
t.run if t
self
end
end
MUTEX = Mutex.new
end
MUTEX = Mutex.new
class Context
class Context
DEBUG_LAST_CMD = []
begin
@ -741,18 +741,18 @@ EOHELP
end
@last_file = file
end
end
end
trap("INT") { DEBUGGER__.interrupt }
@last_thread = Thread::main
@max_thread = 1
@thread_list = {Thread::main => 1}
@break_points = []
@display = []
@waiting = []
@stdout = STDOUT
trap("INT") { DEBUGGER__.interrupt }
@last_thread = Thread::main
@max_thread = 1
@thread_list = {Thread::main => 1}
@break_points = []
@display = []
@waiting = []
@stdout = STDOUT
class <<DEBUGGER__
class << DEBUGGER__
def stdout
@stdout
end
@ -918,11 +918,11 @@ EOHELP
end
end
end
end
stdout.printf "Debug.rb\n"
stdout.printf "Emacs support available.\n\n"
set_trace_func proc { |event, file, line, id, binding, klass, *rest|
DEBUGGER__.context.trace_func event, file, line, id, binding, klass
}
end
stdout.printf "Debug.rb\n"
stdout.printf "Emacs support available.\n\n"
set_trace_func proc { |event, file, line, id, binding, klass, *rest|
DEBUGGER__.context.trace_func event, file, line, id, binding, klass
}
end