The call depth of Java exception stack traces never ceases to amaze me. These are easily 200 levels deep. I know I'm seeing things that trace back deep into the bowels of our application server, but I also remember working with much simpler Java programs in school that were still 50 levels deep or so.
I don't think anything I wrote in Perl ever had that many routines calling that many routines. Even if they had a comparable number of routines, they didn't go that deep.
proxies are part of the problem (Score:2)
Fun when debugging, too...
Re: (Score:2)
Yes; I'm seeing a lot of those.
There needs to be the equivalent of goto &NAME in Java.
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
in perl (Score:1)
rjbs
Re: (Score:1)
As for Java, the call traces are deep because you see the call stack all the way down to "main". Try going 50 levels deep in a mod_perl app, then looking at the C stack in GDB. It's deep because you have Apache in there, then Perl, then Perl's management of your stack.
Re: (Score:1)
Be nice if he gave the user the choice. There’s always Carp::Always for those times you do need a full trace, and then you get one from any uncaught exceptions, not just those where the author coöperated. And the rest of the time, you can leave it out.