node/lib/metasm/metasm/debug.rb
def each_pid(&b)
		# ensure @pid is last, so that we finish in the current context
		lst = @pid_stuff.keys - [@pid]
		lst << @pid
		return lst if not b
		lst.each { |p|
			set_pid p
			b.call
		}
	end
# iterate over all pids, yield in the context of this pid
iterate over all pids, yield in the context of this pid
iterate over all pids yield in the context of this pid
def each_pid(&b)
		lst = @pid_stuff.keys - [@pid]
		lst << @pid
		return lst if not b
		lst.each { |p|
			set_pid p
			b.call
		}
	end
def each_pid ( & b ) lst = @pid_stuff . keys - [ @pid ] lst << @pid return lst if not b lst . each { | p | set_pid p b . call } end
iterate over all pids, yield in the context of this pid
iterate over all pids yield in the context of this pid
# ensure @pid is last, so that we finish in the current context
b