From: Han Holl Date: 2002-06-19T03:00:10+09:00 Subject: Re: Debug.rb and exceptions Ned Konz wrote: >On Monday 17 June 2002 02:04 pm, Han Holl wrote: > > > >>Because I want to mv a file between filesystems, the rename raises >>an exception, which the debugger catches. >>Question: how can I avoid this. I haven't seen anything in the >>debug.rb documentation (?) on this issue. It should be fairly >>common, I would suspect. >> >> > >Easy: catch the Errno::EXDEV and instead do a copy followed by a >delete of the original. > > > That is not what I meant at all. What you propose is exactly what ftools.rb does. My question: is it impossible to use the debugger with software that uses begin - rescue in Python style ? Han