On Mon, 2008-01-21 at 13:35 -0600, Nathan Waddell wrote: > Dmitriy, > I've been using Catalyst::Log to create debugging statements, > combined with Data::Dump to output my data structures in certain > places. It's crude, but it works. > > I'm going to try your method. Does it support breakpoints from within > Eclipse? What limitations have you noticed?
You can set debugger breakpoints from within any editor. Just add this
to your code where you want the debugger to stop:
$DB::single = 1;
You can make it a conditional breakpoint also:
$DB::single = defined $c->req->params->{break};
Enjoy.
Regards,
Jonathan Rockway
signature.asc
Description: This is a digitally signed message part
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
