evaluate(context, statements, file = nil, line = nil)
public
Evaluate the context of this workspace and use the Tracer library to output the exact lines of code
are being executed in chronological order.
See lib/tracer.rb for more information.
Show source
def evaluate(context, statements, file = nil, line = nil)
if context.use_tracer? && file != nil && line != nil
Tracer.on
begin
__evaluate__(context, statements, file, line)
ensure
Tracer.off
end
else
__evaluate__(context, statements, file || __FILE__, line || __LINE__)
end
end