[Catalyst] Debugging Catalyst with Eclipse
Troy Davis
troy at digissance.com
Thu Jan 17 16:11:13 GMT 2008
On Jan 17, 2008, at 10:37 AM, Nathan Waddell wrote:
> I'm specifically looking for some tips on how to set up Eclipse (with
> EPIC, of course) to debug Catalyst applications - either locally or
> remotely. I'm ok with using the Catalyst built-in development server
> for this, so no worries about Apache, etc.
I use eclipse when working on my catalyst apps. I'm using EPIC as
well, which helps me catch many bugs. But I've never found a way to
debug an app interactively from within eclipse. EPIC claims to
contain a debugger, so I suppose it's theoretically possible, but I'm
not sure how it would work in a Catalyst context. I also have a few
errors that eclipse lists, but which don't cause and problems in the
app. Tweaking paths and such hasn't helped so far, and the authors of
EPIC were kind enough to reply to my messages about that issue, but
didn't work with Catalyst so didn't have a recommended solution.
I'd also like to see a better debugging environment for Catalyst apps
under EPIC, so post a message to the EPIC email list. Hopefully an
increase in message traffic about Catalyst on EPIC will result in
more attention being paid to getting it to work.
You can still get interactive debugging to work in a terminal, though:
http://search.cpan.org/~jrockway/Catalyst-Manual-5.701003/lib/
Catalyst/Manual/Tutorial/
Debugging.pod#RUNNING_CATALYST_UNDER_THE_PERL_DEBUGGER
Cheers,
Troy
More information about the Catalyst
mailing list