Anthony, thank you for your response. Would it not be possible that when an exception is thrown to temporarily store the filename/line number for when the exception handler kicks in, so at the very least, if someone made the mistake of throwing an exception inside of another exception, they could at least be told where to go to fix their mistake?
I am only asking to this list because I would hate to submit a ticket that is just going to be closed. :) On Nov 23, 2007 1:09 PM, Antony Dovgal <[EMAIL PROTECTED]> wrote: > On 22.11.2007 06:12, Ken Stanley wrote: > > I have > > corrected my mistake so that it will use trigger_error() instead of > throwing > > an exception. However, in my Google searches I have noticed that there > are a > > lot of people having somewhat similar problems, but without an easy > > solution. My feature request would be to include the filename and > possibly > > even the line number where this last exception was thrown from. > > The execution phase is finished at the moment when exception handlers and > shutdown functions are called. > No script is executing -> no line & filename info anymore -> filename = > Unknown, line = 0. > > -- > Wbr, > Antony Dovgal > -- It looked like something resembling white marble, which was probably what it was: something resembling white marble. -- Douglas Adams, "The Hitchhikers Guide to the Galaxy"