Ticket #1283 (closed todo: fixed)
rethrow should keep the backtrace of the original 'die'
Reported by: | coke | Owned by: | whiteknight |
---|---|---|---|
Priority: | minor | Milestone: | 3.0 |
Component: | core | Version: | trunk |
Severity: | low | Keywords: | exceptions |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description
Originally reported in: http://rt.perl.org/rt3/Ticket/Display.html?id=60044
The crucial bit here is:
On Thu, Oct 23, 2008 at 08:04:41PM -0700, Allison Randal wrote: > > I don't understand the problem. Is it that you expect 'rethrow' to keep > the stack trace of the original 'die'? ...this is what I would expect. If I catch and then rethrow an exception, I'd expect the stack trace to continue to show the location of the original throw, not the location of the rethrow. Pm
Change History
Note: See
TracTickets for help on using
tickets.