At 09:14 PM 8/16/00 -0600, Tony Olekshy wrote: >Jonathan Scott Duff wrote: > > > > I can almost see what you're talking about but not quite. It sounds > > like you want caller() info available to the exception handler... but > > isn't it? > >The basic problem is that the stack traceback at the time of catching >is not the same as the stack traceback at the time of throwing, which >may be not be the same as the stack traceback at the time the exception >object was created. > >Once you've started unwinding, the original context gets lost. We're >working on a couple mechanisms to keep (some) historic context around, >while unwinding, for debugging purposes. Actually, according to the documentation for caller(), it should do what I want. It just doesn't yet. -- Peter Scott Pacific Systems Design Technologies
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1. Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions R... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions R... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptio... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Chaim Frenkel
- Re: Toward an omnibus Perl 6 Exceptions R... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptio... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exc... Chaim Frenkel
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Tony Olekshy