[Catalyst] Re: Perl::Rails?

Matthew Lawrence matthew.lawrence at ehsbrann.com
Fri Dec 9 15:37:44 CET 2005


Brandon Black wrote:
> On 12/9/05, Shlomi Fish <shlomif at iglu.org.il> wrote:
> 
>>I can also add poor debugging ability to it. One essentially cannot debug
>>functions in the core Controller Catalyst components, due to what I was told
>>were "nested eval"'s. I don't care if it's a bug of perl or Catalyst - I
>>don't care - I want to debug it in style. What I restorted to was to extract
>>code out of my application and debug that, but it's a kludge.
> 
> The bigger issue, IMHO, is that exceptions provide no stack trace.  

You can cause carp to act like confess globally by saying 
$Carp::Verbose++ somewhere nice and early. Or use Carp qw( verbose ) to 
have it at compile time.

That should mean that you get stack traces for every error.

Matt




More information about the Catalyst mailing list