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

If you know the line where the code fails, you can insert   $DB::single=2; on the line before, run under the debugger and hit 'c' to got straight to that line and grab your stacktrace that way. Quick and much less tedious than the single stepping method.


Nah! You're thinking of Simon Templar, originally played (on UKTV) by Roger Moore and later by Ian Ogilvy

Replies are listed 'Best First'.
Re: Re: How do I get a post mortem stack trace?
by shemp (Deacon) on Nov 11, 2002 at 18:20 UTC
    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.