From: Gavin Sinclair Date: 2004-10-27T08:42:05+09:00 Subject: Re: dev-utils breakpoint On Wednesday, October 27, 2004, 9:18:25 AM, Mauricio wrote: > On Wed, Oct 27, 2004 at 06:13:14AM +0900, Michael Neumann wrote: >> Hi, >> >> When I want to return from an irb session caused by a breakpoint, and >> use "exit", this exits the complete application. And debug_return is not >> defined (as described in the documentation). >> >> require 'dev-utils/debug' >> p "a" >> breakpoint >> p "b" >> >> This only prints "a". >> >> The only working way is to use trow :debug_return. >> >> I am using dev-utils (1.0.1-1) from rpa and ruby-1.8.2. > You have to use ^d; as documented at > http://dev-utils.rubyforge.org/DebuggingAids.html. It will consider > adding that documentation to the RPA port. Michael, is there any way I can make that documentation clearer? Is there any alterantive functionality you suggest? What about somehow forcing 'exit' to only exit IRB? (Then 'exit!' could quit altogether.) Mauricio, I thought the doc was included in the RPA port already, hence the redcloth and cstemplate build dependencies. I'm not complaining, just curious. Cheers, Gavin