From: Brian Candler Date: 2009-11-22T06:33:28+09:00 Subject: Re: problem step-in debug through instance_eval > instance_eval(File.read("dyn.dsl"),"dyn.dsl") Could you not just do this instead? load "dyn.dsl" The 'self' object context would be lost. But at worst you could pass that through a constant or a global or thread-local variable, e.g. dyn.dsl contains $SELF.instance_eval { ... original content ... } > Do you have any explanations? A debugger is probably not going to be able to find the source file if the source is not in a file but is in a String. -- Posted via http://www.ruby-forum.com/.