in reply to Re: How do I get a post mortem stack trace?
in thread How do I get a post mortem stack trace?

Along the lines of my above (erroneuos) reply, If you know the line where the error occurs, just put a
confess()
statement at the line immediately before the script fails.